config

package
v0.0.0-...-b7624bf Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfigMap = map[string]map[string]string{
	"208": {
		"serverAdd":   "10.8.8.208",
		"dataId":      "qq-config",
		"group":       "DEFAULT_GROUP",
		"nameSpaceId": "2baea186-51ba-459e-bfa8-4c222d16c308",
	},

	"201": {
		"serverAdd":   "192.168.31.201",
		"dataId":      "qq-config",
		"group":       "DEFAULT_GROUP",
		"nameSpaceId": "4793f393-e460-43df-bace-99c8ba4cbe06",
	},
}
View Source
var NacosConfig *viper.Viper
View Source
var SChan chan string

Functions

func ReadChan

func ReadChan()

func SendChan

func SendChan()

func StartNacosConfig

func StartNacosConfig() error

StartLogger 初始日志

Types

This section is empty.

Jump to

Keyboard shortcuts

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