message

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleMessage

type ExampleMessage struct {
	MsgID   uint64
	Content string
}

ExampleMessage example message

func (*ExampleMessage) DebugString

func (tm *ExampleMessage) DebugString() string

func (*ExampleMessage) GetID

func (tm *ExampleMessage) GetID() uint64

func (*ExampleMessage) MarshalTo

func (tm *ExampleMessage) MarshalTo(data []byte) (int, error)

func (*ExampleMessage) SetID

func (tm *ExampleMessage) SetID(id uint64)

func (*ExampleMessage) Size

func (tm *ExampleMessage) Size() int

func (*ExampleMessage) Unmarshal

func (tm *ExampleMessage) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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