apppbtypes

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *apppb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

func (m *Event) Pb() *apppb.Event

type Event_NewEpoch

type Event_NewEpoch struct {
	NewEpoch *NewEpoch
}

func (*Event_NewEpoch) MirReflect

func (*Event_NewEpoch) MirReflect() mirreflect.Type

func (*Event_NewEpoch) Pb

func (*Event_NewEpoch) Unwrap

func (w *Event_NewEpoch) Unwrap() *NewEpoch

type Event_RestoreState

type Event_RestoreState struct {
	RestoreState *RestoreState
}

func (*Event_RestoreState) MirReflect

func (*Event_RestoreState) MirReflect() mirreflect.Type

func (*Event_RestoreState) Pb

func (*Event_RestoreState) Unwrap

func (w *Event_RestoreState) Unwrap() *RestoreState

type Event_Snapshot

type Event_Snapshot struct {
	Snapshot *Snapshot
}

func (*Event_Snapshot) MirReflect

func (*Event_Snapshot) MirReflect() mirreflect.Type

func (*Event_Snapshot) Pb

func (*Event_Snapshot) Unwrap

func (w *Event_Snapshot) Unwrap() *Snapshot

type Event_SnapshotRequest

type Event_SnapshotRequest struct {
	SnapshotRequest *SnapshotRequest
}

func (*Event_SnapshotRequest) MirReflect

func (*Event_SnapshotRequest) MirReflect() mirreflect.Type

func (*Event_SnapshotRequest) Pb

func (*Event_SnapshotRequest) Unwrap

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

	Pb() apppb.Event_Type
	// contains filtered or unexported methods
}

func Event_TypeFromPb

func Event_TypeFromPb(pb apppb.Event_Type) Event_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type NewEpoch

type NewEpoch struct {
	EpochNr        types2.EpochNr
	ProtocolModule types.ModuleID
}

func NewEpochFromPb

func NewEpochFromPb(pb *apppb.NewEpoch) *NewEpoch

func (*NewEpoch) MirReflect

func (*NewEpoch) MirReflect() mirreflect.Type

func (*NewEpoch) Pb

func (m *NewEpoch) Pb() *apppb.NewEpoch

type RestoreState

type RestoreState struct {
	Checkpoint *types1.StableCheckpoint
}

func RestoreStateFromPb

func RestoreStateFromPb(pb *apppb.RestoreState) *RestoreState

func (*RestoreState) MirReflect

func (*RestoreState) MirReflect() mirreflect.Type

func (*RestoreState) Pb

func (m *RestoreState) Pb() *apppb.RestoreState

type Snapshot

type Snapshot struct {
	AppData []uint8
}

func SnapshotFromPb

func SnapshotFromPb(pb *apppb.Snapshot) *Snapshot

func (*Snapshot) MirReflect

func (*Snapshot) MirReflect() mirreflect.Type

func (*Snapshot) Pb

func (m *Snapshot) Pb() *apppb.Snapshot

type SnapshotRequest

type SnapshotRequest struct {
	ReplyTo types.ModuleID
}

func SnapshotRequestFromPb

func SnapshotRequestFromPb(pb *apppb.SnapshotRequest) *SnapshotRequest

func (*SnapshotRequest) MirReflect

func (*SnapshotRequest) MirReflect() mirreflect.Type

func (*SnapshotRequest) Pb

Jump to

Keyboard shortcuts

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