Documentation ¶
Overview ¶
Package graphite defines structures for interacting with a Graphite server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = &http.Client{ Timeout: time.Minute, }
DefaultClient is the default HTTP client for requests.
Functions ¶
func Query ¶
func Query(r *bgraphite.Request, host string, header http.Header) ([]byte, bgraphite.Response, error)
Query performs a request to Graphite at the given host. host specifies a hostname with optional port, and may optionally begin with a scheme (http, https) to specify the protocol (http is the default). header is the headers to send.
Types ¶
type GraphiteContext ¶
Click to show internal directories.
Click to hide internal directories.