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