Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateServiceID ¶
func ServiceConnection ¶
Types ¶
type Registry ¶
type Registry interface { RegisterService(ctx context.Context, serviceName, serviceID, serviceAddress string, servicePort int, tags []string) error DeregisterService(ctx context.Context, serviceID string) error GetService(ctx context.Context, serviceName string) ([]*consul.ServiceEntry, error) HealthCheck(serviceID, serviceName string) error }
Click to show internal directories.
Click to hide internal directories.