conf

package
v0.0.0-...-0cd90d5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeafultConf

type DeafultConf struct {
	Key   string         `bind:"must"`
	Name  string         `bind:"should"`
	Child []*DeafultConf `bind:"must"`
	// contains filtered or unexported fields
}

* * 获取配置信息,默认获取获取default日志,配置文件bind级别分为must,should,must是必须参数,should是非必须参数,不配置则不判断bind

func ConfIntance

func ConfIntance() *DeafultConf

func (*DeafultConf) Init

func (conf *DeafultConf) Init() *DeafultConf

Jump to

Keyboard shortcuts

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