conf

package
v0.0.0-...-6c82b23 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

Types

type AppConf

type AppConf struct {
	DbUsername  string `mapstructure:"DB_USERNAME"`
	DbPassword  string `mapstructure:"DB_PASSWORD"`
	DbHostname  string `mapstructure:"DB_HOSTNAME"`
	DbPort      string `mapstructure:"DB_PORT"`
	DbName      string `mapstructure:"DB_NAME"`
	ServPort    string `mapstructure:"BACKEND_PORT"`
	ServHost    string `mapstructure:"BACKEND_HOSTNAME"`
	HttpProto   string `mapstructure:"HTTP_PROTOCOL"`
	Domain      string `mapstructure:"DOMAIN_NAME"`
	BotId       uuid.UUID
	BotIdString string `mapstructure:"BOT_ID"`
	BotName     string `mapstructure:"CHAT_BOT_NAME"`
	Assets      string `mapstructure:"ASSET_DIR"`
}
var App AppConf

func (*AppConf) SetBotId

func (a *AppConf) SetBotId(id uuid.UUID)

Jump to

Keyboard shortcuts

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