Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTransport ¶
func Read ¶
func Read(r io.Reader) ([]*clientmodel.MetricFamily, error)
func Write ¶
func Write(w io.Writer, families []*clientmodel.MetricFamily) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Retrieve ¶
func (c *Client) Retrieve(ctx context.Context, req *http.Request) ([]*clientmodel.MetricFamily, error)
func (*Client) Send ¶
func (c *Client) Send(ctx context.Context, req *http.Request, families []*clientmodel.MetricFamily) error
Click to show internal directories.
Click to hide internal directories.