config

package
v0.0.0-...-a1560d6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func DBOpen

func DBOpen()

func GetAdminSlackIds

func GetAdminSlackIds() map[string]int

func GetBotSlackID

func GetBotSlackID() string

func GetCurrencyName

func GetCurrencyName() string

func GetCurrencyShortName

func GetCurrencyShortName() string

func GetEnvVars

func GetEnvVars()

func GetKoinLordSlackIds

func GetKoinLordSlackIds() map[string]int

func GetNoPrefixChannelIds

func GetNoPrefixChannelIds() map[string]int

func ServerURL

func ServerURL(serverConfig *ServerConfig) string

Types

type ServerConfig

type ServerConfig struct {
	Host string
	Port string
}

func BuildServerConfig

func BuildServerConfig() *ServerConfig

Jump to

Keyboard shortcuts

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