Documentation
¶
Index ¶
- func HandleFunc(location string, handler func(w http.ResponseWriter, r *http.Request))
- func HandleMetrics(metrics ...prometheus.Collector)
- func ListenAndServeHttp(addr string, handler func(w http.ResponseWriter, r *http.Request))
- func ListenAndServeHttps(addr string, certFile string, keyFile string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleFunc ¶
func HandleFunc(location string, handler func(w http.ResponseWriter, r *http.Request))
func HandleMetrics ¶
func HandleMetrics(metrics ...prometheus.Collector)
func ListenAndServeHttp ¶
func ListenAndServeHttp(addr string, handler func(w http.ResponseWriter, r *http.Request))
func ListenAndServeHttps ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.