zutils

package
v0.0.8-tcp Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 3 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 {
	TCPServer        ziface.IServer `yaml:"-"`
	Host             string         `yaml:"host"`
	TCPPort          int            `yaml:"tcp_port"`
	Name             string         `yaml:"name"`
	Version          string         `yaml:"version"`
	MaxPacketSize    uint32         `yaml:"max_packet_size"`
	MaxConn          int            `yaml:"max_conn"`
	WorkPoolSize     uint32         `yaml:"work_pool_size"`
	MaxWorkerTaskLen uint32         `yaml:"max_worker_task_len"`
	MaxMsgChanLen    uint32         `yaml:"max_msg_chan_len"`
}
var GlobalObject *GlobalObj

func (*GlobalObj) Reload

func (g *GlobalObj) Reload(conf string)

Jump to

Keyboard shortcuts

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