You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
434 B
25 lines
434 B
using Nacos;
|
|
using Nacos.V2.Naming.Dtos;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Ocelot.Provider.Nacos.NacosClient;
|
|
|
|
public interface ILBStrategy
|
|
{
|
|
/// <summary>
|
|
/// Strategy Name
|
|
/// </summary>
|
|
LBStrategyName Name { get; }
|
|
|
|
/// <summary>
|
|
/// Get host
|
|
/// </summary>
|
|
/// <param name="list">host list</param>
|
|
/// <returns>The Host</returns>
|
|
Instance GetHost(List<Instance> list);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|