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 Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server exposes endpoints for nodes to register themselves and inspect the registry.
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
GracefulStop closes the server and gracefully sheds connections. TODO(AD) Doesn't yet handle gracefully closing websocket connections.
Click to show internal directories.
Click to hide internal directories.