config

package
v3.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 10 Imported by: 10

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