Documentation ¶
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 is the struct for the HTTP server.
func NewServer ¶
NewServer method initializes a new HTTP server instance and associates the different routes that will be used by Prometheus (metrics) or for monitoring (readiness, liveness).
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe()
ListenAndServe method serves HTTP requests.
Click to show internal directories.
Click to hide internal directories.