Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { URL string Username string Password string // contains filtered or unexported fields }
Client defines a Prometheus client.
type Option ¶
type Option func(*Client)
Option configures a client option.
func WithPassword ¶
WithPassword returns an option to set password.
func WithUsername ¶
WithUsername returns an option to set username.
Click to show internal directories.
Click to hide internal directories.