Documentation
¶
Index ¶
- type Registry
- func (r *Registry) DeregisterService(ctx context.Context, serviceID string) error
- func (r *Registry) GetService(ctx context.Context, serviceName string) ([]*consul.ServiceEntry, error)
- func (r *Registry) HealthCheck(serviceID, serviceName string) error
- func (r *Registry) RegisterService(ctx context.Context, serviceName, serviceID, serviceAddress 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) DeregisterService ¶
func (*Registry) GetService ¶
func (*Registry) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.