constant

package
v0.0.0-...-2715f90 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// StatusStart status
	StatusStart int32
	// StatusHandshake status
	StatusHandshake
	// StatusWorking status
	StatusWorking
	// StatusClosed status
	StatusClosed
)
View Source
const (
	IPVersionKey = "ipversion"
	IPv4         = "ipv4"
	IPv6         = "ipv6"
)

IP constants

View Source
const (
	Gate        = "gate"
	TCPAcceptor = "tcp_acceptor"
	WSAcceptor  = "ws_acceptor"
)
View Source
const AgentPrefix = "agent"

Variables

View Source
var (
	// ErrWrongPomeloPacketType represents a wrong packet type.
	ErrWrongPomeloPacketType = errors.New("wrong packet type")

	// ErrInvalidPomeloHeader represents an invalid header
	ErrInvalidPomeloHeader = errors.New("invalid header")
)

Functions

This section is empty.

Types

type AcceptorType

type AcceptorType int32
const (
	AcceptorTypeTCP AcceptorType = 1
	AcceptorTypeWS  AcceptorType = 2
)

Jump to

Keyboard shortcuts

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