broadcast

package
v0.0.0-...-1a3a2fa Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envelope

type Envelope interface {
	TalkgroupTuple() talkgroups.ID
	PatchTGs() []int
	ShouldStore() bool
}

Envelope abstracts away the TG tuple and patches for a Call or any related data structures.

type Message

type Message interface {
	ToPBMessage() *pb.Message
	BroadcastType() Type
	Envelope
}

type ToClientMsg

type ToClientMsg interface {
	protoreflect.ProtoMessage
}

type Type

type Type int
const (
	BcastNone Type = 0
	BcastCall Type = 1 << iota
	BcastTranscription
)

func (Type) Has

func (t Type) Has(bct Type) bool

func (*Type) Subscribe

func (t *Type) Subscribe(sif bool, bct Type)

Jump to

Keyboard shortcuts

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