{"modulePath":"github.com/netdata/go.d.plugin","version":"v0.58.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpcheck\n\n## Types\n\n```go\ntype Config struct {\n\tweb.HTTP         `yaml:\",inline\"`\n\tUpdateEvery      int                 `yaml:\"update_every\"`\n\tAcceptedStatuses []int               `yaml:\"status_accepted\"`\n\tResponseMatch    string              `yaml:\"response_match\"`\n\tCookieFile       string              `yaml:\"cookie_file\"`\n\tHeaderMatch      []HeaderMatchConfig `yaml:\"header_match\"`\n}\n```\n\n```go\ntype HTTPCheck struct {\n\tmodule.Base\n\tConfig `yaml:\",inline\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New() *HTTPCheck\n```\n\n```go\nfunc (hc *HTTPCheck) Charts() *module.Charts\n```\n\n```go\nfunc (hc *HTTPCheck) Check() bool\n```\n\n```go\nfunc (hc *HTTPCheck) Cleanup()\n```\n\n```go\nfunc (hc *HTTPCheck) Collect() map[string]int64\n```\n\n```go\nfunc (hc *HTTPCheck) Init() bool\n```\n\n```go\ntype HeaderMatchConfig struct {\n\tExclude bool   `yaml:\"exclude\"`\n\tKey     string `yaml:\"key\"`\n\tValue   string `yaml:\"value\"`\n}\n```\n\n","path":"github.com/netdata/go.d.plugin/modules/httpcheck","name":"httpcheck","synopsis":"","isRedistributable":true}
