msgsupport

package
v6.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMsg

func CreateMsg(messageType byte) interfaces.IMsg

func UnmarshalMessage

func UnmarshalMessage(data []byte) (interfaces.IMsg, error)

func UnmarshalMessageData

func UnmarshalMessageData(data []byte) (newdata []byte, msg interfaces.IMsg, err error)

Types

type GeneralFactory

type GeneralFactory struct {
}

GeneralFactory is used to get around package import loops.

func (GeneralFactory) CreateMsg

func (GeneralFactory) CreateMsg(messageType byte) interfaces.IMsg

func (GeneralFactory) MessageName

func (GeneralFactory) MessageName(Type byte) string

func (GeneralFactory) UnmarshalMessage

func (GeneralFactory) UnmarshalMessage(data []byte) (interfaces.IMsg, error)

func (GeneralFactory) UnmarshalMessageData

func (GeneralFactory) UnmarshalMessageData(data []byte) (newdata []byte, msg interfaces.IMsg, err error)

Jump to

Keyboard shortcuts

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