Documentation ¶
Index ¶
- type Registry
- func (r *Registry) Deregister(ctx context.Context, instanceId string, serviceName string) error
- func (r *Registry) Discover(ctx context.Context, serviceName string) ([]*consul.ServiceEntry, error)
- func (r *Registry) HealthCheck(instanceId string, serviceName string) error
- func (r *Registry) Register(ctx context.Context, instanceId, serviceName, hostPort string, tags []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) Deregister ¶
func (*Registry) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.