config

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Runtime = "RUN_TIME"
	Local   = "local"
)

Variables

This section is empty.

Functions

func ParseToml

func ParseToml(group, dataId, localConfig string, confPtr interface{}) (err error)

解析 acm 或本地 toml 配置到结构体

confPtr: 结构体指针

func ParseYaml

func ParseYaml(group, dataId, localConfig string, confPtr interface{}) (err error)

解析 acm 或本地 yaml 配置到结构体

confPtr: 结构体指针

Types

This section is empty.

Jump to

Keyboard shortcuts

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