config

package
v0.0.0-...-01d145f Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEndPointsForDiscovery

func GetEndPointsForDiscovery() []string

GetEndPointsForDiscovery 获取服务发现的地址

func GetEnv

func GetEnv(name, value, usage string) string

GetEnv 获取环境变量中的值

func GetEnvInt32

func GetEnvInt32(name string, value int32, usage string) int32

func GetEnvInt64

func GetEnvInt64(name string, value int64, usage string) int64

func GetGatewayEpollWaitQueueSize

func GetGatewayEpollWaitQueueSize() int

func GetGatewayEpollerChanNum

func GetGatewayEpollerChanNum() int

func GetGatewayEpollerNum

func GetGatewayEpollerNum() int

func GetGatewayMaxTcpNum

func GetGatewayMaxTcpNum() int32

func GetGatewayServerPort

func GetGatewayServerPort() int

func GetGatewayWorkerPoolNum

func GetGatewayWorkerPoolNum() int

func GetServicePathForIPconfig

func GetServicePathForIPconfig() string

func GetTimeoutForDiscovery

func GetTimeoutForDiscovery() time.Duration

GetTimeoutForDiscovery 获取链接服务发现集群的超时时间(ms)

func IsDebug

func IsDebug() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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