Config

package
v0.0.0-...-78e7102 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: GPL-3.0 Imports: 4 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 {
	SMTP_Server      string
	SMTP_Port        int
	IMAP_Server      string
	IMAP_Port        int
	Email_Account    string
	Email_Password   string
	WIT_Api_Key      string
	Telegram_Api_Key string
	Discord_Api_Key  string

	Telegram_ids      *map[string]int64
	Discord_mentions  *map[string]string
	Telegram_mentions *map[string]string
	From_list         *map[string]string
	Callback_map      *map[string]interface{}
	Tele_wit_chan     chan string
}

func LoadConfig

func LoadConfig(filename string) *Config

func (*Config) SetUpGobFiles

func (config *Config) SetUpGobFiles()

Jump to

Keyboard shortcuts

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