batchdbpbtypes

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchStored added in v0.3.0

type BatchStored struct {
	Origin *StoreBatchOrigin
}

func BatchStoredFromPb added in v0.3.0

func BatchStoredFromPb(pb *batchdbpb.BatchStored) *BatchStored

func (*BatchStored) MirReflect added in v0.3.0

func (*BatchStored) MirReflect() mirreflect.Type

func (*BatchStored) Pb added in v0.3.0

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *batchdbpb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

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

type Event_GarbageCollect added in v0.4.2

type Event_GarbageCollect struct {
	GarbageCollect *GarbageCollect
}

func (*Event_GarbageCollect) MirReflect added in v0.4.2

func (*Event_GarbageCollect) MirReflect() mirreflect.Type

func (*Event_GarbageCollect) Pb added in v0.4.2

func (*Event_GarbageCollect) Unwrap added in v0.4.2

func (w *Event_GarbageCollect) Unwrap() *GarbageCollect

type Event_Lookup

type Event_Lookup struct {
	Lookup *LookupBatch
}

func (*Event_Lookup) MirReflect

func (*Event_Lookup) MirReflect() mirreflect.Type

func (*Event_Lookup) Pb

func (*Event_Lookup) Unwrap

func (w *Event_Lookup) Unwrap() *LookupBatch

type Event_LookupResponse

type Event_LookupResponse struct {
	LookupResponse *LookupBatchResponse
}

func (*Event_LookupResponse) MirReflect

func (*Event_LookupResponse) MirReflect() mirreflect.Type

func (*Event_LookupResponse) Pb

func (*Event_LookupResponse) Unwrap

type Event_Store

type Event_Store struct {
	Store *StoreBatch
}

func (*Event_Store) MirReflect

func (*Event_Store) MirReflect() mirreflect.Type

func (*Event_Store) Pb

func (*Event_Store) Unwrap

func (w *Event_Store) Unwrap() *StoreBatch

type Event_Stored

type Event_Stored struct {
	Stored *BatchStored
}

func (*Event_Stored) MirReflect

func (*Event_Stored) MirReflect() mirreflect.Type

func (*Event_Stored) Pb

func (*Event_Stored) Unwrap

func (w *Event_Stored) Unwrap() *BatchStored

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

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

func Event_TypeFromPb

func Event_TypeFromPb(pb batchdbpb.Event_Type) Event_Type

type Event_TypeWrapper

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

type GarbageCollect added in v0.4.2

type GarbageCollect struct {
	RetentionIndex types3.RetentionIndex
}

func GarbageCollectFromPb added in v0.4.2

func GarbageCollectFromPb(pb *batchdbpb.GarbageCollect) *GarbageCollect

func (*GarbageCollect) MirReflect added in v0.4.2

func (*GarbageCollect) MirReflect() mirreflect.Type

func (*GarbageCollect) Pb added in v0.4.2

type LookupBatch added in v0.3.0

type LookupBatch struct {
	BatchId types.BatchID
	Origin  *LookupBatchOrigin
}

func LookupBatchFromPb added in v0.3.0

func LookupBatchFromPb(pb *batchdbpb.LookupBatch) *LookupBatch

func (*LookupBatch) MirReflect added in v0.3.0

func (*LookupBatch) MirReflect() mirreflect.Type

func (*LookupBatch) Pb added in v0.3.0

type LookupBatchOrigin added in v0.3.0

type LookupBatchOrigin struct {
	Module types4.ModuleID
	Type   LookupBatchOrigin_Type
}

func LookupBatchOriginFromPb added in v0.3.0

func LookupBatchOriginFromPb(pb *batchdbpb.LookupBatchOrigin) *LookupBatchOrigin

func (*LookupBatchOrigin) MirReflect added in v0.3.0

func (*LookupBatchOrigin) MirReflect() mirreflect.Type

func (*LookupBatchOrigin) Pb added in v0.3.0

type LookupBatchOrigin_ContextStore added in v0.3.0

type LookupBatchOrigin_ContextStore struct {
	ContextStore *types5.Origin
}

func (*LookupBatchOrigin_ContextStore) MirReflect added in v0.3.0

func (*LookupBatchOrigin_ContextStore) Pb added in v0.3.0

func (*LookupBatchOrigin_ContextStore) Unwrap added in v0.3.0

type LookupBatchOrigin_Dsl added in v0.3.0

type LookupBatchOrigin_Dsl struct {
	Dsl *types6.Origin
}

func (*LookupBatchOrigin_Dsl) MirReflect added in v0.3.0

func (*LookupBatchOrigin_Dsl) MirReflect() mirreflect.Type

func (*LookupBatchOrigin_Dsl) Pb added in v0.3.0

func (*LookupBatchOrigin_Dsl) Unwrap added in v0.3.0

func (w *LookupBatchOrigin_Dsl) Unwrap() *types6.Origin

type LookupBatchOrigin_Type added in v0.3.0

type LookupBatchOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() batchdbpb.LookupBatchOrigin_Type
	// contains filtered or unexported methods
}

func LookupBatchOrigin_TypeFromPb added in v0.3.0

func LookupBatchOrigin_TypeFromPb(pb batchdbpb.LookupBatchOrigin_Type) LookupBatchOrigin_Type

type LookupBatchOrigin_TypeWrapper added in v0.3.0

type LookupBatchOrigin_TypeWrapper[T any] interface {
	LookupBatchOrigin_Type
	Unwrap() *T
}

type LookupBatchResponse added in v0.3.0

type LookupBatchResponse struct {
	Found  bool
	Txs    []*types1.Transaction
	Origin *LookupBatchOrigin
}

func LookupBatchResponseFromPb added in v0.3.0

func LookupBatchResponseFromPb(pb *batchdbpb.LookupBatchResponse) *LookupBatchResponse

func (*LookupBatchResponse) MirReflect added in v0.3.0

func (*LookupBatchResponse) MirReflect() mirreflect.Type

func (*LookupBatchResponse) Pb added in v0.3.0

type StoreBatch added in v0.3.0

type StoreBatch struct {
	BatchId        types.BatchID
	Txs            []*types1.Transaction
	RetentionIndex types3.RetentionIndex
	Origin         *StoreBatchOrigin
}

func StoreBatchFromPb added in v0.3.0

func StoreBatchFromPb(pb *batchdbpb.StoreBatch) *StoreBatch

func (*StoreBatch) MirReflect added in v0.3.0

func (*StoreBatch) MirReflect() mirreflect.Type

func (*StoreBatch) Pb added in v0.3.0

func (m *StoreBatch) Pb() *batchdbpb.StoreBatch

type StoreBatchOrigin added in v0.3.0

type StoreBatchOrigin struct {
	Module types4.ModuleID
	Type   StoreBatchOrigin_Type
}

func StoreBatchOriginFromPb added in v0.3.0

func StoreBatchOriginFromPb(pb *batchdbpb.StoreBatchOrigin) *StoreBatchOrigin

func (*StoreBatchOrigin) MirReflect added in v0.3.0

func (*StoreBatchOrigin) MirReflect() mirreflect.Type

func (*StoreBatchOrigin) Pb added in v0.3.0

type StoreBatchOrigin_ContextStore added in v0.3.0

type StoreBatchOrigin_ContextStore struct {
	ContextStore *types5.Origin
}

func (*StoreBatchOrigin_ContextStore) MirReflect added in v0.3.0

func (*StoreBatchOrigin_ContextStore) Pb added in v0.3.0

func (*StoreBatchOrigin_ContextStore) Unwrap added in v0.3.0

type StoreBatchOrigin_Dsl added in v0.3.0

type StoreBatchOrigin_Dsl struct {
	Dsl *types6.Origin
}

func (*StoreBatchOrigin_Dsl) MirReflect added in v0.3.0

func (*StoreBatchOrigin_Dsl) MirReflect() mirreflect.Type

func (*StoreBatchOrigin_Dsl) Pb added in v0.3.0

func (*StoreBatchOrigin_Dsl) Unwrap added in v0.3.0

func (w *StoreBatchOrigin_Dsl) Unwrap() *types6.Origin

type StoreBatchOrigin_Type added in v0.3.0

type StoreBatchOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() batchdbpb.StoreBatchOrigin_Type
	// contains filtered or unexported methods
}

func StoreBatchOrigin_TypeFromPb added in v0.3.0

func StoreBatchOrigin_TypeFromPb(pb batchdbpb.StoreBatchOrigin_Type) StoreBatchOrigin_Type

type StoreBatchOrigin_TypeWrapper added in v0.3.0

type StoreBatchOrigin_TypeWrapper[T any] interface {
	StoreBatchOrigin_Type
	Unwrap() *T
}

Jump to

Keyboard shortcuts

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