constants

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigPathKey       = "config"
	ImportConfigPathKey = "source"
)
View Source
const (
	SQLShowVariables = "SHOW VARIABLES WHERE Variable_name = '%s'"

	VariableNameMaxAllowedPacket = "max_allowed_packet"

	SlowThreshold = "slow_threshold"
)
View Source
const (
	EnvBootstrapPath      = "ARANA_BOOTSTRAP_PATH" // bootstrap file path, eg: /etc/arana/bootstrap.yaml
	EnvConfigPath         = "ARANA_CONFIG_PATH"    // config file path, eg: /etc/arana/config.yaml
	EnvDevelopEnvironment = "ARANA_DEV"            // config dev environment
)

Environments

Variables

This section is empty.

Functions

func GetConfigSearchPathList

func GetConfigSearchPathList() []string

GetConfigSearchPathList returns the default search path list of configuration.

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