conf

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 2 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(conf Config)

添加配置文件.

func Reload

func Reload()

重新加载文件.

Types

type Config

type Config interface {
	Gets() map[string]string
	Get(key string) string
	GetT(key string, t reflect.Type) interface{}
	Parse(v interface{}) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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