cmd

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTCPKeepAlive = 3 * time.Second
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type ServerConfig added in v0.0.5

type ServerConfig struct {
	Network          string
	Address          string
	SoftLimit        uint64
	HardLimit        uint64
	EnableTicker     bool
	MultiCore        bool
	LockOSThread     bool
	ReuseAddress     bool
	ReusePort        bool
	LoadBalancer     gnet.LoadBalancing
	TickInterval     time.Duration
	ReadBufferCap    int
	WriteBufferCap   int
	SocketRecvBuffer int
	SocketSendBuffer int
	TCPKeepAlive     time.Duration
	TCPNoDelay       gnet.TCPSocketOpt
}

Jump to

Keyboard shortcuts

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