Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ListenPort defines the port in which the server listens to ListenPort string = ":9090" MetricsPath string = "/metrics" )
Functions ¶
func MetricsMiddleware ¶
MetricsMiddleware is middleware for prometheus
func StartHttpServer ¶
func StartHttpServer() error
StartHttpServer boots up the server that runs on the specified port. Returns an error if there is no connection established.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.