Documentation
¶
Index ¶
- func BasicAuthHandler(username, password string, h http.Handler) http.HandlerFunc
- func Decrypt(key []byte, encrypted string) (string, error)
- func Encrypt(key, text string) (string, error)
- func MergeLabels(connLabels, gaugeLabels map[string]string) prometheus.Labels
- func SetLogLevel(level string)
- func ShouldRunQuery(query types.Query, conn types.Connection) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuthHandler ¶
func BasicAuthHandler(username, password string, h http.Handler) http.HandlerFunc
func MergeLabels ¶
func MergeLabels(connLabels, gaugeLabels map[string]string) prometheus.Labels
func SetLogLevel ¶
func SetLogLevel(level string)
func ShouldRunQuery ¶
func ShouldRunQuery(query types.Query, conn types.Connection) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.