{"modulePath":"github.com/ci-plugins/telegraf","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpjson\n\n## Types\n\n```go\ntype HTTPClient interface {\n\t// Returns the result of an http request\n\t//\n\t// Parameters:\n\t// req: HTTP request object\n\t//\n\t// Returns:\n\t// http.Response:  HTTP respons object\n\t// error        :  Any error that may have occurred\n\tMakeRequest(req *http.Request) (*http.Response, error)\n}\n```\n\n```go\ntype HttpJson struct {\n\tName       string\n\tServers    []string\n\tMethod     string\n\tTagKeys    []string\n\tParameters map[string]string\n\tHeaders    map[string]string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (h *HttpJson) Description() string\n```\n\n```go\nfunc (h *HttpJson) Gather(acc inputs.Accumulator) error\n```\nGathers data for all servers.\n\n```go\nfunc (h *HttpJson) SampleConfig() string\n```\n\n```go\ntype RealHTTPClient struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (c RealHTTPClient) MakeRequest(req *http.Request) (*http.Response, error)\n```\n\n","path":"github.com/ci-plugins/telegraf/plugins/inputs/httpjson","name":"httpjson","synopsis":"","isRedistributable":true}
