Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithListener ¶
func WithLogger ¶
func WithPromRegistry ¶
func WithPromRegistry(promRegistry *prometheus.Registry) Option
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages the registry service, which provides a server for nodes to register and discovery the cluster.
func (*Service) GracefulStop ¶
func (s *Service) GracefulStop()
Click to show internal directories.
Click to hide internal directories.