raw

package
v0.0.0-...-1a2806f Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	ID      uint32
	UID     uint64
	MsgID   uint32
	MsgType uint32
	Seq     uint32
	Options string
	Body    interface{}
}

Message raw struct

func (*Message) GetID

func (m *Message) GetID() uint32

GetID >

func (*Message) GetMsgID

func (m *Message) GetMsgID() uint32

GetMsgID >

func (*Message) GetMsgType

func (m *Message) GetMsgType() uint32

GetMsgType >

func (*Message) GetSeq

func (m *Message) GetSeq() uint32

GetSeq >

func (*Message) GetUID

func (m *Message) GetUID() uint64

GetUID >

func (*Message) Pack

func (m *Message) Pack() []byte

Pack raw message

func (*Message) Unpack

func (m *Message) Unpack(buffer []byte) error

Unpack raw message

Jump to

Keyboard shortcuts

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