mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-30 05:42:51 +08:00
13 lines
276 B
C#
13 lines
276 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Ocelot.Responses;
|
|
using Ocelot.Values;
|
|
|
|
namespace Ocelot.LoadBalancer.LoadBalancers
|
|
{
|
|
public interface ILoadBalancer
|
|
{
|
|
Task<Response<HostAndPort>> Lease();
|
|
void Release(HostAndPort hostAndPort);
|
|
}
|
|
} |