Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChannelHeartbeat = 0 ChannelGameInfo = 1 ChannelBusy = 2 ChannelData = 3 ChannelLocalMap = 4 ChannelRequest = 5 ChannelResponse = 6 )
Variables ¶
View Source
var ErrInvalidBinaryProtocol = errors.New("invalid binary protocol")
Functions ¶
This section is empty.
Types ¶
type CommandResponse ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) EncodePong ¶
type PipboyMemory ¶
func UnmarshalBinary ¶
func UnmarshalBinary(r io.Reader) (memory PipboyMemory, err error)
func (PipboyMemory) MarshalJSON ¶
func (d PipboyMemory) MarshalJSON() ([]byte, error)
type UnknownChannelError ¶
func (*UnknownChannelError) Error ¶
func (e *UnknownChannelError) Error() string
Click to show internal directories.
Click to hide internal directories.