msg

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Delimiter = "||"
)

Variables

This section is empty.

Functions

func EncodeEvent

func EncodeEvent(buff *bytes.Buffer, event Event)

func MarshalEvent

func MarshalEvent(event Event) []byte

Types

type Event

type Event struct {
	Name  string
	AckId uint64
	Data  []byte
}

func UnmarshalEvent

func UnmarshalEvent(data []byte) (Event, error)

func (Event) IsAckRequired

func (e Event) IsAckRequired() bool

Jump to

Keyboard shortcuts

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