constant

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 0 Imported by: 44

Documentation

Index

Constants

View Source
const (
	DEFAULT_WEIGHT = 100     //
	DEFAULT_WARMUP = 10 * 60 // in java here is 10*60*1000 because of System.currentTimeMillis() is measured in milliseconds & in go time.Unix() is second
)
View Source
const (
	DEFAULT_LOADBALANCE    = "random"
	DEFAULT_RETRIES        = 2
	DEFAULT_PROTOCOL       = "dubbo"
	DEFAULT_REG_TIMEOUT    = "10s"
	DEFAULT_CLUSTER        = "failover"
	DEFAULT_FAILBACK_TIMES = 3
	DEFAULT_FAILBACK_TASKS = 100
)
View Source
const (
	DEFAULT_KEY               = "default"
	PREFIX_DEFAULT_KEY        = "default."
	DEFAULT_SERVICE_FILTERS   = "echo"
	DEFAULT_REFERENCE_FILTERS = ""
	ECHO                      = "$echo"
)
View Source
const (
	CONF_CONSUMER_FILE_PATH        = "CONF_CONSUMER_FILE_PATH"
	CONF_PROVIDER_FILE_PATH        = "CONF_PROVIDER_FILE_PATH"
	APP_LOG_CONF_FILE       string = "APP_LOG_CONF_FILE"
)
View Source
const (
	GROUP_KEY     = "group"
	VERSION_KEY   = "version"
	INTERFACE_KEY = "interface"
	PATH_KEY      = "path"
	SERVICE_KEY   = "service"
	METHODS_KEY   = "methods"
	TIMEOUT_KEY   = "timeout"
)
View Source
const (
	SERVICE_FILTER_KEY   = "service.filter"
	REFERENCE_FILTER_KEY = "reference.filter"
)
View Source
const (
	TIMESTAMP_KEY        = "timestamp"
	REMOTE_TIMESTAMP_KEY = "remote.timestamp"
	CLUSTER_KEY          = "cluster"
	LOADBALANCE_KEY      = "loadbalance"
	WEIGHT_KEY           = "weight"
	WARMUP_KEY           = "warmup"
	RETRIES_KEY          = "retries"
	BEAN_NAME            = "bean.name"
	FAIL_BACK_TASKS_KEY  = "failbacktasks"
)
View Source
const (
	REGISTRY_KEY         = "registry"
	REGISTRY_PROTOCOL    = "registry"
	ROLE_KEY             = "registry.role"
	REGISTRY_DEFAULT_KEY = "registry.default"
	REGISTRY_TIMEOUT_KEY = "registry.timeout"
)
View Source
const (
	APPLICATION_KEY  = "application"
	ORGANIZATION_KEY = "organization"
	NAME_KEY         = "name"
	MODULE_KEY       = "module"
	APP_VERSION_KEY  = "app.version"
	OWNER_KEY        = "owner"
	ENVIRONMENT_KEY  = "environment"
	METHOD_KEY       = "method"
	METHOD_KEYS      = "methods"
	RULE_KEY         = "rule"
)
View Source
const (
	CONFIG_NAMESPACE_KEY = "config.namespace"
	CONFIG_TIMEOUT_KET   = "config.timeout"
)
View Source
const (
	RegistryConfigPrefix  = "dubbo.registries."
	ReferenceConfigPrefix = "dubbo.reference."
	ServiceConfigPrefix   = "dubbo.service."
	ProtocolConfigPrefix  = "dubbo.protocols."
	ProviderConfigPrefix  = "dubbo.provider."
	ConsumerConfigPrefix  = "dubbo.consumer."
)
View Source
const (
	ANY_VALUE = "*"
)
View Source
const (
	ASYNC_KEY = "async" // it's value should be "true" or "false" of string type
)
View Source
const (
	DUBBO = "dubbo"
)
View Source
const (
	DUBBOGO_CTX_KEY = "dubbogo-ctx"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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