using System.Collections.Generic; using ZeroLevel.Network.Microservices; namespace ZeroLevel.Network { public interface IDiscoveryClient { bool Register(MicroserviceInfo info); IEnumerable GetServiceEndpoints(string serviceKey); IEnumerable GetServiceEndpointsByGroup(string serviceGroup); IEnumerable GetServiceEndpointsByType(string serviceType); ServiceEndpointInfo GetService(string serviceKey, string endpoint); } }