message

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceToProto

func SliceToProto(msgs []Message) []*proto.Message

func ToProto

func ToProto(msg Message) *proto.Message

Types

type Message

type Message struct {
	Topic Topic
	Index int
	Data  []byte
}

func FromProto

func FromProto(msg *proto.Message) Message

func SliceFromProto

func SliceFromProto(pmsgs []*proto.Message) []Message

type Topic

type Topic string

Jump to

Keyboard shortcuts

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