boot

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: GPL-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	KeyChannelReadLimit        = "KeyChannelReadLimit"  // 连接读取消息长度限制
	ChannelReadLimit     int32 = 256                    // 256个字节
	KeyPacketBytesCount        = "KeyPacketBytesCount"  // 消息长度占用字节数
	PacketBytesCount     int32 = 4                      // 4个字节
	KeyReadTimeOut             = "KeyReadTimeOut"       // 连接读取消息超时时间
	ReadTimeOut          int32 = 30                     // 30秒
	KeyWriteTimeOut            = "KeyWriteTimeOut"      // 连接写入消息超时时间
	WriteTimeOut         int32 = 30                     // 30秒
	KeyConnType                = "KeyConnType"          // 连接类型
	KeyIP                      = "KeyIP"                // 连接IP
	KeyPort                    = "KeyPort"              // 连接端口
	KeyURLPath                 = "URLPath"              // 请求路径
	KeyIsLD                    = "KeyIsLD"              // 是否小端
	KeyLengthInclude           = "KeyLengthInclude"     // 包长度是否包含自己的长度
	SkipPacketBytesCount       = "SkipPacketBytesCount" // 是否跳过包长度
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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