conf

package
v0.0.0-...-cab9402 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LenStackBuf = 4096

	// log
	LogLevel  string
	LogPath   string
	LogFlag   int
	MsgLog    = false // 收发消息日志开关
	BlackList = make(map[reflect.Type]struct{})

	// console
	ConsolePort   int
	ConsolePrompt string = "Leaf# "
	ProfilePath   string

	// cluster
	ListenAddr      string
	ConnAddrs       []string
	PendingWriteNum int
)

Functions

func AddBlackList

func AddBlackList(t reflect.Type)

func InBlackList

func InBlackList(t reflect.Type) bool

func OpenMsgLog

func OpenMsgLog(o bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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