system

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MulanPSL-2.0 Imports: 8 Imported by: 0

README

config.go 配置文件代码结构 ├── conf │ └── config.yaml ├── go.mod ├── go.sum ├── main.go └── README.md

Documentation

Index

Constants

View Source
const (
	DEBUG = iota
	INFO
	WARN
	ERROR
)

log_level

Variables

View Source
var Configlist map[string]string

Functions

func ConfigInt added in v1.0.0

func ConfigInt(str string) int

func ConfigInt32 added in v1.0.0

func ConfigInt32(str string) int32

func ConfigInt64 added in v1.0.0

func ConfigInt64(str string) int64

func ConfigStr added in v1.0.1

func ConfigStr(str string) string

func Debug added in v1.0.0

func Debug(mes string, err interface{})

func Error added in v1.0.0

func Error(mes string, err interface{})

func Info added in v1.0.0

func Info(mes string, err interface{})

func SetLogLevel added in v1.0.0

func SetLogLevel(level int)

func Warn added in v1.0.0

func Warn(mes string, err interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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