base_service

package
v0.0.0-...-16924cb Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigPath = "./config.toml"

Variables

View Source
var GlobalConfig *Config
View Source
var GlobalLogger *zerolog.Logger
View Source
var LogFile *os.File
View Source
var LogLevel = zerolog.InfoLevel

Functions

func CreateLog

func CreateLog()

func GetLogger

func GetLogger(module string) zerolog.Logger

func LoadConfig

func LoadConfig() (Config, error)

func LoadConfigFromFile

func LoadConfigFromFile() (Config, error)

func SaveConfig

func SaveConfig(config *Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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