{"modulePath":"github.com/infinitbyte/framework","version":"v1.1.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package statsd\n\n## Types\n\n```go\ntype StatsDConfig struct {\n\tEnabled           bool   `config:\"enabled\"`\n\tHost              string `config:\"host\"`\n\tPort              int    `config:\"port\"`\n\tNamespace         string `config:\"namespace\"`\n\tProtocol          string `config:\"protocol\"`\n\tIntervalInSeconds int    `config:\"interval_in_seconds\"`\n\tBufferSize        int    `config:\"buffer_size\"`\n}\n```\n\n```go\ntype StatsDModule struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (module *StatsDModule) Absolute(category, key string, value int64)\n```\n\n```go\nfunc (module *StatsDModule) Decrement(category, key string)\n```\n\n```go\nfunc (module *StatsDModule) DecrementBy(category, key string, value int64)\n```\n\n```go\nfunc (module *StatsDModule) Gauge(category, key string, v int64)\n```\n\n```go\nfunc (module *StatsDModule) GetTimestamp(category, key string) (time.Time, error)\n```\n\n```go\nfunc (module *StatsDModule) Increment(category, key string)\n```\n\n```go\nfunc (module *StatsDModule) IncrementBy(category, key string, value int64)\n```\n\n```go\nfunc (module *StatsDModule) Name() string\n```\n\n```go\nfunc (module *StatsDModule) RecordTimestamp(category, key string, value time.Time)\n```\n\n```go\nfunc (module *StatsDModule) Setup()\n```\n\n```go\nfunc (module *StatsDModule) Start() error\n```\n\n```go\nfunc (module *StatsDModule) Stat(category, key string) int64\n```\n\n```go\nfunc (module *StatsDModule) StatsAll() string\n```\n\n```go\nfunc (module *StatsDModule) Stop() error\n```\n\n```go\nfunc (module *StatsDModule) Timing(category, key string, v int64)\n```\n\n","path":"github.com/infinitbyte/framework/plugins/stats_statsd","name":"statsd","synopsis":"","isRedistributable":true}
