Documentation
¶
Index ¶
- type Registry
- func (r *Registry) Deregister(ctx context.Context, instanceId, serviceName string) error
- func (r *Registry) Discover(ctx context.Context, serviceName string) ([]string, error)
- func (r *Registry) HealthCheck(instanceId, serviceName string) error
- func (r *Registry) Register(ctx context.Context, instanceId, serviceName, hostPort string) error
- func (r *Registry) ServiceAddresses(ctx context.Context, serviceName string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) Deregister ¶
func (*Registry) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.