{"modulePath":"github.com/netdata/go.d.plugin","version":"v0.58.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package example\n\n## Types\n\n```go\ntype Config struct {\n\tCharts       ConfigCharts `yaml:\"charts\"`\n\tHiddenCharts ConfigCharts `yaml:\"hidden_charts\"`\n}\n```\n\n```go\ntype ConfigCharts struct {\n\tType     string `yaml:\"type\"`\n\tNum      int    `yaml:\"num\"`\n\tContexts int    `yaml:\"contexts\"`\n\tDims     int    `yaml:\"dimensions\"`\n\tLabels   int    `yaml:\"labels\"`\n}\n```\n\n```go\ntype Example struct {\n\tmodule.Base // should be embedded by every module\n\tConfig      `yaml:\",inline\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New() *Example\n```\n\n```go\nfunc (e *Example) Charts() *module.Charts\n```\n\n```go\nfunc (e *Example) Check() bool\n```\n\n```go\nfunc (e *Example) Cleanup()\n```\n\n```go\nfunc (e *Example) Collect() map[string]int64\n```\n\n```go\nfunc (e *Example) Init() bool\n```\n\n","path":"github.com/netdata/go.d.plugin/modules/example","name":"example","synopsis":"","isRedistributable":true}
