hconf

package
v1.1.44 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfFile = "./conf.toml"
)

Functions

func Init

func Init()

func IsDebug

func IsDebug() bool

func Load

func Load(conf interface{})

func LogFileName

func LogFileName() string

func LogOutputs

func LogOutputs() []string

func Save

func Save()

func Version

func Version() string

Types

type Config

type Config struct {
	Version     string
	LogOutputs  []string
	LogFileName string
	Debug       bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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