{"modulePath":"github.com/netdata/go.d.plugin","version":"v0.58.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ping\n\n## Types\n\n```go\ntype Config struct {\n\tUpdateEvery int          `yaml:\"update_every\"`\n\tHosts       []string     `yaml:\"hosts\"`\n\tNetwork     string       `yaml:\"network\"`\n\tPrivileged  bool         `yaml:\"privileged\"`\n\tSendPackets int          `yaml:\"packets\"`\n\tInterval    web.Duration `yaml:\"interval\"`\n\tInterface   string       `yaml:\"interface\"`\n}\n```\n\n```go\ntype Ping struct {\n\tmodule.Base\n\tConfig `yaml:\",inline\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New() *Ping\n```\n\n```go\nfunc (p *Ping) Charts() *module.Charts\n```\n\n```go\nfunc (p *Ping) Check() bool\n```\n\n```go\nfunc (p *Ping) Cleanup()\n```\n\n```go\nfunc (p *Ping) Collect() map[string]int64\n```\n\n```go\nfunc (p *Ping) Init() bool\n```\n\n","path":"github.com/netdata/go.d.plugin/modules/ping","name":"ping","synopsis":"","isRedistributable":true}
