Documentation
¶
Overview ¶
Package server exposes the pool over HTTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves take/release/status/reload over HTTP.
func (*Server) WithMetrics ¶
func (s *Server) WithMetrics(h http.HandlerFunc) *Server
WithMetrics mounts an unauthenticated /metrics handler (Prometheus scrape).
Click to show internal directories.
Click to hide internal directories.