config

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 10 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NdConfigMap = nmap.NewSafeMap()
)

nodata配置(mockcfg)的缓存, 这些数据来自配置中心

Functions

func GetNdConfig

func GetNdConfig(key string) (*cmodel.NodataConfig, bool)

func Keys

func Keys() []string

func SetNdConfigMap

func SetNdConfigMap(val *nmap.SafeMap)

Interfaces Of StrategyMap

func Size

func Size() int

func Start

func Start()

func StartNdConfigCron

func StartNdConfigCron()

func SyncNdConfigOnce

func SyncNdConfigOnce() int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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