configuration_constant

package
v0.0.0-...-ca42a2b Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 节点配置目录
	NODE_CONF_DIR = "/node/conf/"

	// 配置节点发现目录
	CONFIGURATION_REGISTER_DIR = "/configuration/register/"

	// 同步中心配置
	CONFIGURATION_CONF_SYNC = "/configuration/conf/" // +appid_namespace=path

	// 节点配置更新目录
	CONFIGURATION_NODE_CONF = "/configuration/node/" // + ip + appid_namespace=path

	// 中心节点目录名,用来判断中心节点是否存在。
	BELUGA_MASTER_DIR = "/beluga_master/"
)
View Source
const (
	CONFIGURATION_REDIS_KEY = "beluga_configuration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeConf

type NodeConf struct {
	Appid     string              `json:"appid"`
	Namespace []NodeConfNamespace `json:"namespace"`
}

type NodeConfNamespace

type NodeConfNamespace struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

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