constants

package
v0.0.0-...-780cc0d Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout       int64 = 30
	DefaultServerMaxPool int64 = 10000
	DefaultClientPool    int64 = 10
	DefaultRetryCount    int64 = 3
)

Variables

View Source
var (
	ErrServerConfig        = errors.New("config error")
	ErrServerPort          = errors.New("server port error")
	ErrServerConnManyToMax = errors.New("server conn to many")
	ErrSetDeadline         = errors.New("websocket: cannot set deadline: not using a net.Conn")
	ErrDecodeParams        = errors.New("decode err by params")
	ErrHandlerTimeout      = errors.New("handler timeout")
	ErrNeedPtr             = errors.New("need param id ptr")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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