Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Twitch ¶
type Twitch struct { AccessToken string `toml:"access_token"` ClientID string `toml:"client_id"` ClientSecret string `toml:"client_secret"` Users []int64 `toml:"users"` // contains filtered or unexported fields }
Twitch - plugin main structure
func (*Twitch) Description ¶
Description returns the plugin description.
func (*Twitch) Gather ¶
func (t *Twitch) Gather(acc telegraf.Accumulator) error
Gather Twitch Metrics
func (*Twitch) SampleConfig ¶
SampleConfig returns sample configuration for this plugin.
Click to show internal directories.
Click to hide internal directories.