config

package
v0.0.0-...-40aef72 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Listen       string
	RedisURI     string
	WowsApiKey   string
	LogLevel     string
	StaticAssets string
	Rates        string
}

func ParseConfig

func ParseConfig(cfgfile string) (*AppConfig, error)

func (AppConfig) ConvertLogLevel

func (a AppConfig) ConvertLogLevel() (log.Lvl, error)

Jump to

Keyboard shortcuts

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