utils

package
v0.0.0-...-6c53c4d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalObj

type GlobalObj struct {
	/*
		Server
	*/
	TcpServer aiface.IServer
	Host      string
	TcpPort   int
	Name      string

	/*
		Aucuba
	*/
	Version          string
	MaxConn          int //当前服务器主机允许的最大链接个数
	MaxPackageSize   uint32
	WorkerPoolSize   uint32 //业务工作Worker池的数量
	MaxWorkerTaskLen uint32 //业务工作Worker对应负责的任务队列最大任务存储数量
	MaxMsgChanLen    uint32
	/*
	  config file path
	*/
	ConfFilePath string
}
var GlobalObject *GlobalObj

Jump to

Keyboard shortcuts

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