config

package
v1.13.9 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDir

func GetDir(app string) (dir string, err error)

func GetPath

func GetPath() string

func Init

func Init(cflag, app, default_conf string)

func Load

func Load(conf interface{}) (err error)

func LoadBytes

func LoadBytes(conf interface{}, data []byte) (err error)

func LoadEx

func LoadEx(conf interface{}, confName string) (err error)

func LoadFile

func LoadFile(conf interface{}, confName string) (err error)

func LoadString

func LoadString(conf interface{}, data string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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