Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToService ¶
func GenerateInstanceID ¶
Types ¶
type Registry ¶
type Registry interface { Register(ctx context.Context, instanceID, serverName, hostPort string) error Deregister(ctx context.Context, instanceID, serviceName string) error Discover(ctx context.Context, serviceName string) ([]*consul.ServiceEntry, error) HealthCheck(instanceID, serviceName string) error }
Click to show internal directories.
Click to hide internal directories.