config

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Addr string
View Source
var DebugMode bool

Functions

func GetConfig

func GetConfig() *configuration

func InitConfig

func InitConfig()

Types

type DataSourceConfig

type DataSourceConfig struct {
	Url string `mapstructure:"url"`
}

type MiraiConfig

type MiraiConfig struct {
	BotQQ string `mapstructure:"botqq"`
}

type SteamAPIConfig

type SteamAPIConfig struct {
	Key string `mapstructure:"key"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳