config

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CONFIG_PATH = "conf"
	DEFAULT_CONFIG_NAME = "zero-framework"
	DEFAULT_CONFIG_TYPE = "yaml"
)

Variables

This section is empty.

Functions

func Find added in v1.14.16

func Find(cfgName string) any

func IntValue

func IntValue(cfgName string) int

func NewConfigs

func NewConfigs(sysAbsPath string)

func ServerAbsPath

func ServerAbsPath() string

func SliceStringValue

func SliceStringValue(cfgName string) []string

func StringMap added in v1.14.16

func StringMap(cfgName string) map[string]any

func StringMapString added in v1.14.15

func StringMapString(cfgName string) map[string]string

func StringMapStringSlice added in v1.14.15

func StringMapStringSlice(cfgName string) map[string][]string

func StringValue

func StringValue(cfgName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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