Documentation
¶
Index ¶
Constants ¶
View Source
const ( BadAuthRequestId = -1 RequestPayloadMaxLength = 1446 ResponsePayloadMaxLength = 4096 )
View Source
const ( Auth = PacketType(3) ExecCommand = PacketType(2) ResponseValue = PacketType(0) DummyRequest = PacketType(100) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Header ¶
type Header struct {
Length int32
RequestId int32
Type PacketType
}
type PacketType ¶
type PacketType int32
Click to show internal directories.
Click to hide internal directories.