register

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(msgID message.MessageID, msgName string, msgSize int, crcExtra uint8, msgConstructor func(bytes []byte) (message.Message, error))

Register method provide register dialect message on decoder knowledge

Types

type MessageInfo

type MessageInfo struct {
	Name        string
	Size        int
	Extra       uint8
	Constructor func(bytes []byte) (message.Message, error)
}

MessageInfo type

func Info

func Info(msgID message.MessageID) (*MessageInfo, error)

Info return info about message

Jump to

Keyboard shortcuts

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