config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Telegram struct {
		Enabled bool `yaml:"enabled"`
		Group   []struct {
			ChatID string `yaml:"chatId"`
			Token  string `yaml:"token"`
		} `yaml:"group"`
		Channel []struct {
			Username string `yaml:"username"`
			Token    string `yaml:"token"`
		} `yaml:"channel"`
	} `yaml:"telegram"`
	Twitter struct {
		Enabled bool `yaml:"enabled"`
		Account []struct {
			APIKey            string `yaml:"apiKey"`
			APISecretKey      string `yaml:"apiSecretKey"`
			AccessToken       string `yaml:"accessToken"`
			AccessTokenSecret string `yaml:"accessTokenSecret"`
		} `yaml:"account"`
	} `yaml:"twitter"`
}

Jump to

Keyboard shortcuts

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