eventpbtypes

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: 26 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 {
	DestModule types.ModuleID
	Type       Event_Type
	Next       []*Event
}

func EventFromPb

func EventFromPb(pb *eventpb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

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

type Event_App added in v0.4.0

type Event_App struct {
	App *types13.Event
}

func (*Event_App) MirReflect added in v0.4.0

func (*Event_App) MirReflect() mirreflect.Type

func (*Event_App) Pb added in v0.4.0

func (w *Event_App) Pb() eventpb.Event_Type

func (*Event_App) Unwrap added in v0.4.0

func (w *Event_App) Unwrap() *types13.Event

type Event_Availability

type Event_Availability struct {
	Availability *types4.Event
}

func (*Event_Availability) MirReflect

func (*Event_Availability) MirReflect() mirreflect.Type

func (*Event_Availability) Pb

func (*Event_Availability) Unwrap

func (w *Event_Availability) Unwrap() *types4.Event

type Event_BatchDb

type Event_BatchDb struct {
	BatchDb *types5.Event
}

func (*Event_BatchDb) MirReflect

func (*Event_BatchDb) MirReflect() mirreflect.Type

func (*Event_BatchDb) Pb

func (*Event_BatchDb) Unwrap

func (w *Event_BatchDb) Unwrap() *types5.Event

type Event_BatchFetcher

type Event_BatchFetcher struct {
	BatchFetcher *types6.Event
}

func (*Event_BatchFetcher) MirReflect

func (*Event_BatchFetcher) MirReflect() mirreflect.Type

func (*Event_BatchFetcher) Pb

func (*Event_BatchFetcher) Unwrap

func (w *Event_BatchFetcher) Unwrap() *types6.Event

type Event_Bcb

type Event_Bcb struct {
	Bcb *types2.Event
}

func (*Event_Bcb) MirReflect

func (*Event_Bcb) MirReflect() mirreflect.Type

func (*Event_Bcb) Pb

func (w *Event_Bcb) Pb() eventpb.Event_Type

func (*Event_Bcb) Unwrap

func (w *Event_Bcb) Unwrap() *types2.Event

type Event_Checkpoint

type Event_Checkpoint struct {
	Checkpoint *types8.Event
}

func (*Event_Checkpoint) MirReflect

func (*Event_Checkpoint) MirReflect() mirreflect.Type

func (*Event_Checkpoint) Pb

func (*Event_Checkpoint) Unwrap

func (w *Event_Checkpoint) Unwrap() *types8.Event

type Event_ChkpValidator added in v0.4.2

type Event_ChkpValidator struct {
	ChkpValidator *types15.Event
}

func (*Event_ChkpValidator) MirReflect added in v0.4.2

func (*Event_ChkpValidator) MirReflect() mirreflect.Type

func (*Event_ChkpValidator) Pb added in v0.4.2

func (*Event_ChkpValidator) Unwrap added in v0.4.2

func (w *Event_ChkpValidator) Unwrap() *types15.Event

type Event_Crypto added in v0.4.0

type Event_Crypto struct {
	Crypto *types12.Event
}

func (*Event_Crypto) MirReflect added in v0.4.0

func (*Event_Crypto) MirReflect() mirreflect.Type

func (*Event_Crypto) Pb added in v0.4.0

func (*Event_Crypto) Unwrap added in v0.4.0

func (w *Event_Crypto) Unwrap() *types12.Event

type Event_Factory

type Event_Factory struct {
	Factory *types9.Event
}

func (*Event_Factory) MirReflect

func (*Event_Factory) MirReflect() mirreflect.Type

func (*Event_Factory) Pb

func (*Event_Factory) Unwrap

func (w *Event_Factory) Unwrap() *types9.Event

type Event_Hasher added in v0.4.0

type Event_Hasher struct {
	Hasher *types1.Event
}

func (*Event_Hasher) MirReflect added in v0.4.0

func (*Event_Hasher) MirReflect() mirreflect.Type

func (*Event_Hasher) Pb added in v0.4.0

func (*Event_Hasher) Unwrap added in v0.4.0

func (w *Event_Hasher) Unwrap() *types1.Event

type Event_Init

type Event_Init struct {
	Init *Init
}

func (*Event_Init) MirReflect

func (*Event_Init) MirReflect() mirreflect.Type

func (*Event_Init) Pb

func (w *Event_Init) Pb() eventpb.Event_Type

func (*Event_Init) Unwrap

func (w *Event_Init) Unwrap() *Init

type Event_Iss

type Event_Iss struct {
	Iss *types10.Event
}

func (*Event_Iss) MirReflect

func (*Event_Iss) MirReflect() mirreflect.Type

func (*Event_Iss) Pb

func (w *Event_Iss) Pb() eventpb.Event_Type

func (*Event_Iss) Unwrap

func (w *Event_Iss) Unwrap() *types10.Event

type Event_Mempool

type Event_Mempool struct {
	Mempool *types3.Event
}

func (*Event_Mempool) MirReflect

func (*Event_Mempool) MirReflect() mirreflect.Type

func (*Event_Mempool) Pb

func (*Event_Mempool) Unwrap

func (w *Event_Mempool) Unwrap() *types3.Event

type Event_Orderer added in v0.4.0

type Event_Orderer struct {
	Orderer *types11.Event
}

func (*Event_Orderer) MirReflect added in v0.4.0

func (*Event_Orderer) MirReflect() mirreflect.Type

func (*Event_Orderer) Pb added in v0.4.0

func (*Event_Orderer) Unwrap added in v0.4.0

func (w *Event_Orderer) Unwrap() *types11.Event

type Event_PingPong

type Event_PingPong struct {
	PingPong *types17.Event
}

func (*Event_PingPong) MirReflect

func (*Event_PingPong) MirReflect() mirreflect.Type

func (*Event_PingPong) Pb

func (*Event_PingPong) Unwrap

func (w *Event_PingPong) Unwrap() *types17.Event

type Event_PprepValiadtor added in v0.4.2

type Event_PprepValiadtor struct {
	PprepValiadtor *types16.Event
}

func (*Event_PprepValiadtor) MirReflect added in v0.4.2

func (*Event_PprepValiadtor) MirReflect() mirreflect.Type

func (*Event_PprepValiadtor) Pb added in v0.4.2

func (*Event_PprepValiadtor) Unwrap added in v0.4.2

func (w *Event_PprepValiadtor) Unwrap() *types16.Event

type Event_Tester added in v0.4.0

type Event_Tester struct {
	Tester *types18.Tester
}

func (*Event_Tester) MirReflect added in v0.4.0

func (*Event_Tester) MirReflect() mirreflect.Type

func (*Event_Tester) Pb added in v0.4.0

func (*Event_Tester) Unwrap added in v0.4.0

func (w *Event_Tester) Unwrap() *types18.Tester

type Event_TestingString

type Event_TestingString struct {
	TestingString *wrapperspb.StringValue
}

func (*Event_TestingString) MirReflect

func (*Event_TestingString) MirReflect() mirreflect.Type

func (*Event_TestingString) Pb

func (*Event_TestingString) Unwrap

type Event_TestingUint

type Event_TestingUint struct {
	TestingUint *wrapperspb.UInt64Value
}

func (*Event_TestingUint) MirReflect

func (*Event_TestingUint) MirReflect() mirreflect.Type

func (*Event_TestingUint) Pb

func (*Event_TestingUint) Unwrap

type Event_ThreshCrypto

type Event_ThreshCrypto struct {
	ThreshCrypto *types7.Event
}

func (*Event_ThreshCrypto) MirReflect

func (*Event_ThreshCrypto) MirReflect() mirreflect.Type

func (*Event_ThreshCrypto) Pb

func (*Event_ThreshCrypto) Unwrap

func (w *Event_ThreshCrypto) Unwrap() *types7.Event

type Event_Timer added in v0.4.0

type Event_Timer struct {
	Timer *TimerEvent
}

func (*Event_Timer) MirReflect added in v0.4.0

func (*Event_Timer) MirReflect() mirreflect.Type

func (*Event_Timer) Pb added in v0.4.0

func (w *Event_Timer) Pb() eventpb.Event_Type

func (*Event_Timer) Unwrap added in v0.4.0

func (w *Event_Timer) Unwrap() *TimerEvent

type Event_Transport added in v0.4.0

type Event_Transport struct {
	Transport *types14.Event
}

func (*Event_Transport) MirReflect added in v0.4.0

func (*Event_Transport) MirReflect() mirreflect.Type

func (*Event_Transport) Pb added in v0.4.0

func (*Event_Transport) Unwrap added in v0.4.0

func (w *Event_Transport) Unwrap() *types14.Event

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

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

func Event_TypeFromPb

func Event_TypeFromPb(pb eventpb.Event_Type) Event_Type

type Event_TypeWrapper

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

type Init added in v0.3.0

type Init struct{}

func InitFromPb added in v0.3.0

func InitFromPb(pb *eventpb.Init) *Init

func (*Init) MirReflect added in v0.3.0

func (*Init) MirReflect() mirreflect.Type

func (*Init) Pb added in v0.3.0

func (m *Init) Pb() *eventpb.Init

type TimerDelay added in v0.4.0

type TimerDelay struct {
	EventsToDelay []*Event
	Delay         types20.Duration
}

func TimerDelayFromPb added in v0.4.0

func TimerDelayFromPb(pb *eventpb.TimerDelay) *TimerDelay

func (*TimerDelay) MirReflect added in v0.4.0

func (*TimerDelay) MirReflect() mirreflect.Type

func (*TimerDelay) Pb added in v0.4.0

func (m *TimerDelay) Pb() *eventpb.TimerDelay

type TimerEvent added in v0.4.0

type TimerEvent struct {
	Type TimerEvent_Type
}

func TimerEventFromPb added in v0.4.0

func TimerEventFromPb(pb *eventpb.TimerEvent) *TimerEvent

func (*TimerEvent) MirReflect added in v0.4.0

func (*TimerEvent) MirReflect() mirreflect.Type

func (*TimerEvent) Pb added in v0.4.0

func (m *TimerEvent) Pb() *eventpb.TimerEvent

type TimerEvent_Delay added in v0.4.0

type TimerEvent_Delay struct {
	Delay *TimerDelay
}

func (*TimerEvent_Delay) MirReflect added in v0.4.0

func (*TimerEvent_Delay) MirReflect() mirreflect.Type

func (*TimerEvent_Delay) Pb added in v0.4.0

func (*TimerEvent_Delay) Unwrap added in v0.4.0

func (w *TimerEvent_Delay) Unwrap() *TimerDelay

type TimerEvent_GarbageCollect added in v0.4.0

type TimerEvent_GarbageCollect struct {
	GarbageCollect *TimerGarbageCollect
}

func (*TimerEvent_GarbageCollect) MirReflect added in v0.4.0

func (*TimerEvent_GarbageCollect) Pb added in v0.4.0

func (*TimerEvent_GarbageCollect) Unwrap added in v0.4.0

type TimerEvent_Repeat added in v0.4.0

type TimerEvent_Repeat struct {
	Repeat *TimerRepeat
}

func (*TimerEvent_Repeat) MirReflect added in v0.4.0

func (*TimerEvent_Repeat) MirReflect() mirreflect.Type

func (*TimerEvent_Repeat) Pb added in v0.4.0

func (*TimerEvent_Repeat) Unwrap added in v0.4.0

func (w *TimerEvent_Repeat) Unwrap() *TimerRepeat

type TimerEvent_Type added in v0.4.0

type TimerEvent_Type interface {
	mirreflect.GeneratedType

	Pb() eventpb.TimerEvent_Type
	// contains filtered or unexported methods
}

func TimerEvent_TypeFromPb added in v0.4.0

func TimerEvent_TypeFromPb(pb eventpb.TimerEvent_Type) TimerEvent_Type

type TimerEvent_TypeWrapper added in v0.4.0

type TimerEvent_TypeWrapper[T any] interface {
	TimerEvent_Type
	Unwrap() *T
}

type TimerGarbageCollect added in v0.3.5

type TimerGarbageCollect struct {
	RetentionIndex types21.RetentionIndex
}

func TimerGarbageCollectFromPb added in v0.3.5

func TimerGarbageCollectFromPb(pb *eventpb.TimerGarbageCollect) *TimerGarbageCollect

func (*TimerGarbageCollect) MirReflect added in v0.3.5

func (*TimerGarbageCollect) MirReflect() mirreflect.Type

func (*TimerGarbageCollect) Pb added in v0.3.5

type TimerRepeat added in v0.3.5

type TimerRepeat struct {
	EventsToRepeat []*Event
	Delay          types20.Duration
	RetentionIndex types21.RetentionIndex
}

func TimerRepeatFromPb added in v0.3.5

func TimerRepeatFromPb(pb *eventpb.TimerRepeat) *TimerRepeat

func (*TimerRepeat) MirReflect added in v0.3.5

func (*TimerRepeat) MirReflect() mirreflect.Type

func (*TimerRepeat) Pb added in v0.3.5

func (m *TimerRepeat) Pb() *eventpb.TimerRepeat

Jump to

Keyboard shortcuts

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