config

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeNacosClient

func GeNacosClient() config_client.IConfigClient

func GeNacosConfig

func GeNacosConfig() *gjson.Result

func GetArrayInt64

func GetArrayInt64(name string) []int64

func GetArrayString

func GetArrayString(name string) []string

func GetBool

func GetBool(name string, defaultValues ...bool) bool

func GetInt

func GetInt(name string, defaultValues ...int) int

func GetInt64

func GetInt64(name string, defaultValues ...int64) int64

func GetLocal added in v0.0.10

func GetLocal() *localEnv

func GetLocalConfig

func GetLocalConfig() *gjson.Result

func GetString

func GetString(name string, defaultValues ...string) string

func GetStruct added in v0.0.10

func GetStruct(name string, dst interface{}) error

func GetValue added in v0.0.8

func GetValue(val 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