config

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGroupName string = "arana"

	NamespaceIdKey string = "namespace_id"
	GroupKey       string = "group"
	Username       string = "username"
	Password       string = "password"
	Server         string = "endpoints"
	ContextPath    string = "context_path"
	Scheme         string = "scheme"
	PageSizeKey    string = "page-size"

	PathSplit   string = "::"
	ServerSplit string = ","
)

Variables

This section is empty.

Functions

func IsEnableLocalMathCompu

func IsEnableLocalMathCompu(enable bool) bool

_enableLocalMathCompu returns true if config the local math computation

func NewNacosV2NamingClient

func NewNacosV2NamingClient(options map[string]interface{}) (naming_client.INamingClient, error)

func ParseNacosClientConfig

func ParseNacosClientConfig(options map[string]interface{}) constant.ClientConfig

func ParseNacosServerConfig

func ParseNacosServerConfig(options map[string]interface{}) []constant.ServerConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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