config

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: MIT Imports: 11 Imported by: 0

README

ares-config

go config & nacos config

go get -u github.com/swift9/ares-config

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeNacosClient added in v0.0.5

func GeNacosClient() config_client.IConfigClient

func GeNacosConfig added in v0.0.5

func GeNacosConfig() *gjson.Result

func GetArrayInt64 added in v0.0.5

func GetArrayInt64(name string) []int64

func GetArrayString added in v0.0.5

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 GetLocalConfig added in v0.0.5

func GetLocalConfig() *gjson.Result

func GetString

func GetString(name string, defaultValues ...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