Documentation
¶
Overview ¶
Package packet defines packet structure that is sent on the wire between multiple entities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct {
// contains filtered or unexported fields
}
Packet encapsulates a packet sent over the wire that contains some payload and a header
func (*Packet) MarshalBinary ¶
MarshalBinary is an implementation of a method on the BinaryMarshaler interface defined in https://golang.org/pkg/encoding/
func (*Packet) UnmarshalBinary ¶
UnmarshalBinary is an implementation of a method on the BinaryUnmarshaler interface defined in https://golang.org/pkg/encoding/
Click to show internal directories.
Click to hide internal directories.