twitch

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 7 Imported by: 0

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

func (t *Twitch) Description() string

Description returns the plugin description.

func (*Twitch) Gather

func (t *Twitch) Gather(acc telegraf.Accumulator) error

Gather Twitch Metrics

func (*Twitch) SampleConfig

func (t *Twitch) SampleConfig() string

SampleConfig returns sample configuration for this plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL