Versions in this module Expand all Collapse all v1 v1.56.0 Feb 10, 2025 Changes in this version + var EventProviderAPI_ServiceDesc = grpc.ServiceDesc + var File_goadesign_goagen_event_provider_api_proto protoreflect.FileDescriptor + func RegisterEventProviderAPIServer(s grpc.ServiceRegistrar, srv EventProviderAPIServer) + type ABCIAttribute struct + Key string + Value string + func (*ABCIAttribute) Descriptor() ([]byte, []int) + func (*ABCIAttribute) ProtoMessage() + func (x *ABCIAttribute) GetKey() string + func (x *ABCIAttribute) GetValue() string + func (x *ABCIAttribute) ProtoReflect() protoreflect.Message + func (x *ABCIAttribute) Reset() + func (x *ABCIAttribute) String() string + type ABCIEvent struct + Attributes []*ABCIAttribute + Type string + func (*ABCIEvent) Descriptor() ([]byte, []int) + func (*ABCIEvent) ProtoMessage() + func (x *ABCIEvent) GetAttributes() []*ABCIAttribute + func (x *ABCIEvent) GetType() string + func (x *ABCIEvent) ProtoReflect() protoreflect.Message + func (x *ABCIEvent) Reset() + func (x *ABCIEvent) String() string + type ABCIResponseDeliverTx struct + Code int32 + Codespace string + Events []*ABCIEvent + GasUsed int64 + GasWanted int64 + Info string + Log string + TxHash []byte + func (*ABCIResponseDeliverTx) Descriptor() ([]byte, []int) + func (*ABCIResponseDeliverTx) ProtoMessage() + func (x *ABCIResponseDeliverTx) GetCode() int32 + func (x *ABCIResponseDeliverTx) GetCodespace() string + func (x *ABCIResponseDeliverTx) GetEvents() []*ABCIEvent + func (x *ABCIResponseDeliverTx) GetGasUsed() int64 + func (x *ABCIResponseDeliverTx) GetGasWanted() int64 + func (x *ABCIResponseDeliverTx) GetInfo() string + func (x *ABCIResponseDeliverTx) GetLog() string + func (x *ABCIResponseDeliverTx) GetTxHash() []byte + func (x *ABCIResponseDeliverTx) ProtoReflect() protoreflect.Message + func (x *ABCIResponseDeliverTx) Reset() + func (x *ABCIResponseDeliverTx) String() string + type Block struct + Events []*BlockEvent + Height int64 + InSync bool + Version string + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (x *Block) GetEvents() []*BlockEvent + func (x *Block) GetHeight() int64 + func (x *Block) GetInSync() bool + func (x *Block) GetVersion() string + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type BlockEvent struct + Mode string + TxHash []byte + TypeUrl string + Value []byte + func (*BlockEvent) Descriptor() ([]byte, []int) + func (*BlockEvent) ProtoMessage() + func (x *BlockEvent) GetMode() string + func (x *BlockEvent) GetTxHash() []byte + func (x *BlockEvent) GetTypeUrl() string + func (x *BlockEvent) GetValue() []byte + func (x *BlockEvent) ProtoReflect() protoreflect.Message + func (x *BlockEvent) Reset() + func (x *BlockEvent) String() string + type BlockEventsRPC struct + Events [][]byte + TxHashes map[int32][]byte + Types []string + func (*BlockEventsRPC) Descriptor() ([]byte, []int) + func (*BlockEventsRPC) ProtoMessage() + func (x *BlockEventsRPC) GetEvents() [][]byte + func (x *BlockEventsRPC) GetTxHashes() map[int32][]byte + func (x *BlockEventsRPC) GetTypes() []string + func (x *BlockEventsRPC) ProtoReflect() protoreflect.Message + func (x *BlockEventsRPC) Reset() + func (x *BlockEventsRPC) String() string + type EventProviderAPIClient interface + GetABCIBlockEvents func(ctx context.Context, in *GetABCIBlockEventsRequest, opts ...grpc.CallOption) (*GetABCIBlockEventsResponse, error) + GetABCIBlockEventsAtHeight func(ctx context.Context, in *GetABCIBlockEventsAtHeightRequest, ...) (*GetABCIBlockEventsAtHeightResponse, error) + GetBlockEventsRPC func(ctx context.Context, in *GetBlockEventsRPCRequest, opts ...grpc.CallOption) (*GetBlockEventsRPCResponse, error) + GetCustomEventsRPC func(ctx context.Context, in *GetCustomEventsRPCRequest, opts ...grpc.CallOption) (*GetCustomEventsRPCResponse, error) + GetLatestHeight func(ctx context.Context, in *GetLatestHeightRequest, opts ...grpc.CallOption) (*GetLatestHeightResponse, error) + StreamBlockEvents func(ctx context.Context, in *StreamBlockEventsRequest, opts ...grpc.CallOption) (EventProviderAPI_StreamBlockEventsClient, error) + func NewEventProviderAPIClient(cc grpc.ClientConnInterface) EventProviderAPIClient + type EventProviderAPIServer interface + GetABCIBlockEvents func(context.Context, *GetABCIBlockEventsRequest) (*GetABCIBlockEventsResponse, error) + GetABCIBlockEventsAtHeight func(context.Context, *GetABCIBlockEventsAtHeightRequest) (*GetABCIBlockEventsAtHeightResponse, error) + GetBlockEventsRPC func(context.Context, *GetBlockEventsRPCRequest) (*GetBlockEventsRPCResponse, error) + GetCustomEventsRPC func(context.Context, *GetCustomEventsRPCRequest) (*GetCustomEventsRPCResponse, error) + GetLatestHeight func(context.Context, *GetLatestHeightRequest) (*GetLatestHeightResponse, error) + StreamBlockEvents func(*StreamBlockEventsRequest, EventProviderAPI_StreamBlockEventsServer) error + type EventProviderAPI_StreamBlockEventsClient interface + Recv func() (*StreamBlockEventsResponse, error) + type EventProviderAPI_StreamBlockEventsServer interface + Send func(*StreamBlockEventsResponse) error + type GetABCIBlockEventsAtHeightRequest struct + Height int32 + func (*GetABCIBlockEventsAtHeightRequest) Descriptor() ([]byte, []int) + func (*GetABCIBlockEventsAtHeightRequest) ProtoMessage() + func (x *GetABCIBlockEventsAtHeightRequest) GetHeight() int32 + func (x *GetABCIBlockEventsAtHeightRequest) ProtoReflect() protoreflect.Message + func (x *GetABCIBlockEventsAtHeightRequest) Reset() + func (x *GetABCIBlockEventsAtHeightRequest) String() string + type GetABCIBlockEventsAtHeightResponse struct + E string + RawBlock *RawBlock + S string + V string + func (*GetABCIBlockEventsAtHeightResponse) Descriptor() ([]byte, []int) + func (*GetABCIBlockEventsAtHeightResponse) ProtoMessage() + func (x *GetABCIBlockEventsAtHeightResponse) GetE() string + func (x *GetABCIBlockEventsAtHeightResponse) GetRawBlock() *RawBlock + func (x *GetABCIBlockEventsAtHeightResponse) GetS() string + func (x *GetABCIBlockEventsAtHeightResponse) GetV() string + func (x *GetABCIBlockEventsAtHeightResponse) ProtoReflect() protoreflect.Message + func (x *GetABCIBlockEventsAtHeightResponse) Reset() + func (x *GetABCIBlockEventsAtHeightResponse) String() string + type GetABCIBlockEventsRequest struct + EventTypes []string + Height int32 + func (*GetABCIBlockEventsRequest) Descriptor() ([]byte, []int) + func (*GetABCIBlockEventsRequest) ProtoMessage() + func (x *GetABCIBlockEventsRequest) GetEventTypes() []string + func (x *GetABCIBlockEventsRequest) GetHeight() int32 + func (x *GetABCIBlockEventsRequest) ProtoReflect() protoreflect.Message + func (x *GetABCIBlockEventsRequest) Reset() + func (x *GetABCIBlockEventsRequest) String() string + type GetABCIBlockEventsResponse struct + E string + RawBlock *RawBlock + S string + V string + func (*GetABCIBlockEventsResponse) Descriptor() ([]byte, []int) + func (*GetABCIBlockEventsResponse) ProtoMessage() + func (x *GetABCIBlockEventsResponse) GetE() string + func (x *GetABCIBlockEventsResponse) GetRawBlock() *RawBlock + func (x *GetABCIBlockEventsResponse) GetS() string + func (x *GetABCIBlockEventsResponse) GetV() string + func (x *GetABCIBlockEventsResponse) ProtoReflect() protoreflect.Message + func (x *GetABCIBlockEventsResponse) Reset() + func (x *GetABCIBlockEventsResponse) String() string + type GetBlockEventsRPCRequest struct + Backend string + Height int32 + HumanReadable bool + func (*GetBlockEventsRPCRequest) Descriptor() ([]byte, []int) + func (*GetBlockEventsRPCRequest) ProtoMessage() + func (x *GetBlockEventsRPCRequest) GetBackend() string + func (x *GetBlockEventsRPCRequest) GetHeight() int32 + func (x *GetBlockEventsRPCRequest) GetHumanReadable() bool + func (x *GetBlockEventsRPCRequest) ProtoReflect() protoreflect.Message + func (x *GetBlockEventsRPCRequest) Reset() + func (x *GetBlockEventsRPCRequest) String() string + type GetBlockEventsRPCResponse struct + Data *BlockEventsRPC + E string + S string + V string + func (*GetBlockEventsRPCResponse) Descriptor() ([]byte, []int) + func (*GetBlockEventsRPCResponse) ProtoMessage() + func (x *GetBlockEventsRPCResponse) GetData() *BlockEventsRPC + func (x *GetBlockEventsRPCResponse) GetE() string + func (x *GetBlockEventsRPCResponse) GetS() string + func (x *GetBlockEventsRPCResponse) GetV() string + func (x *GetBlockEventsRPCResponse) ProtoReflect() protoreflect.Message + func (x *GetBlockEventsRPCResponse) Reset() + func (x *GetBlockEventsRPCResponse) String() string + type GetCustomEventsRPCRequest struct + Backend string + Events string + Height int32 + func (*GetCustomEventsRPCRequest) Descriptor() ([]byte, []int) + func (*GetCustomEventsRPCRequest) ProtoMessage() + func (x *GetCustomEventsRPCRequest) GetBackend() string + func (x *GetCustomEventsRPCRequest) GetEvents() string + func (x *GetCustomEventsRPCRequest) GetHeight() int32 + func (x *GetCustomEventsRPCRequest) ProtoReflect() protoreflect.Message + func (x *GetCustomEventsRPCRequest) Reset() + func (x *GetCustomEventsRPCRequest) String() string + type GetCustomEventsRPCResponse struct + Data *BlockEventsRPC + E string + S string + V string + func (*GetCustomEventsRPCResponse) Descriptor() ([]byte, []int) + func (*GetCustomEventsRPCResponse) ProtoMessage() + func (x *GetCustomEventsRPCResponse) GetData() *BlockEventsRPC + func (x *GetCustomEventsRPCResponse) GetE() string + func (x *GetCustomEventsRPCResponse) GetS() string + func (x *GetCustomEventsRPCResponse) GetV() string + func (x *GetCustomEventsRPCResponse) ProtoReflect() protoreflect.Message + func (x *GetCustomEventsRPCResponse) Reset() + func (x *GetCustomEventsRPCResponse) String() string + type GetLatestHeightRequest struct + func (*GetLatestHeightRequest) Descriptor() ([]byte, []int) + func (*GetLatestHeightRequest) ProtoMessage() + func (x *GetLatestHeightRequest) ProtoReflect() protoreflect.Message + func (x *GetLatestHeightRequest) Reset() + func (x *GetLatestHeightRequest) String() string + type GetLatestHeightResponse struct + Data *LatestBlockHeight + E string + S string + V string + func (*GetLatestHeightResponse) Descriptor() ([]byte, []int) + func (*GetLatestHeightResponse) ProtoMessage() + func (x *GetLatestHeightResponse) GetData() *LatestBlockHeight + func (x *GetLatestHeightResponse) GetE() string + func (x *GetLatestHeightResponse) GetS() string + func (x *GetLatestHeightResponse) GetV() string + func (x *GetLatestHeightResponse) ProtoReflect() protoreflect.Message + func (x *GetLatestHeightResponse) Reset() + func (x *GetLatestHeightResponse) String() string + type LatestBlockHeight struct + Height uint64 + Time int64 + func (*LatestBlockHeight) Descriptor() ([]byte, []int) + func (*LatestBlockHeight) ProtoMessage() + func (x *LatestBlockHeight) GetHeight() uint64 + func (x *LatestBlockHeight) GetTime() int64 + func (x *LatestBlockHeight) ProtoReflect() protoreflect.Message + func (x *LatestBlockHeight) Reset() + func (x *LatestBlockHeight) String() string + type RawBlock struct + BeginBlockEvents []*ABCIEvent + BlockTime string + BlockTimestamp int64 + EndBlockEvents []*ABCIEvent + Height int64 + TxsResults []*ABCIResponseDeliverTx + func (*RawBlock) Descriptor() ([]byte, []int) + func (*RawBlock) ProtoMessage() + func (x *RawBlock) GetBeginBlockEvents() []*ABCIEvent + func (x *RawBlock) GetBlockTime() string + func (x *RawBlock) GetBlockTimestamp() int64 + func (x *RawBlock) GetEndBlockEvents() []*ABCIEvent + func (x *RawBlock) GetHeight() int64 + func (x *RawBlock) GetTxsResults() []*ABCIResponseDeliverTx + func (x *RawBlock) ProtoReflect() protoreflect.Message + func (x *RawBlock) Reset() + func (x *RawBlock) String() string + type StreamBlockEventsRequest struct + Backend string + Height int32 + func (*StreamBlockEventsRequest) Descriptor() ([]byte, []int) + func (*StreamBlockEventsRequest) ProtoMessage() + func (x *StreamBlockEventsRequest) GetBackend() string + func (x *StreamBlockEventsRequest) GetHeight() int32 + func (x *StreamBlockEventsRequest) ProtoReflect() protoreflect.Message + func (x *StreamBlockEventsRequest) Reset() + func (x *StreamBlockEventsRequest) String() string + type StreamBlockEventsResponse struct + Blocks []*Block + func (*StreamBlockEventsResponse) Descriptor() ([]byte, []int) + func (*StreamBlockEventsResponse) ProtoMessage() + func (x *StreamBlockEventsResponse) GetBlocks() []*Block + func (x *StreamBlockEventsResponse) ProtoReflect() protoreflect.Message + func (x *StreamBlockEventsResponse) Reset() + func (x *StreamBlockEventsResponse) String() string + type UnimplementedEventProviderAPIServer struct + func (UnimplementedEventProviderAPIServer) GetABCIBlockEvents(context.Context, *GetABCIBlockEventsRequest) (*GetABCIBlockEventsResponse, error) + func (UnimplementedEventProviderAPIServer) GetABCIBlockEventsAtHeight(context.Context, *GetABCIBlockEventsAtHeightRequest) (*GetABCIBlockEventsAtHeightResponse, error) + func (UnimplementedEventProviderAPIServer) GetBlockEventsRPC(context.Context, *GetBlockEventsRPCRequest) (*GetBlockEventsRPCResponse, error) + func (UnimplementedEventProviderAPIServer) GetCustomEventsRPC(context.Context, *GetCustomEventsRPCRequest) (*GetCustomEventsRPCResponse, error) + func (UnimplementedEventProviderAPIServer) GetLatestHeight(context.Context, *GetLatestHeightRequest) (*GetLatestHeightResponse, error) + func (UnimplementedEventProviderAPIServer) StreamBlockEvents(*StreamBlockEventsRequest, EventProviderAPI_StreamBlockEventsServer) error + type UnsafeEventProviderAPIServer interface v1.56.0-rc3 Feb 8, 2025 v1.56.0-rc2 Jan 23, 2025 v1.56.0-rc1 Jan 20, 2025