Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetData() *BlockData
- func (m *Block) GetMessage() isBlock_Message
- func (x *Block) GetUndo() *UndoSignal
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockData
- func (*BlockData) Descriptor() ([]byte, []int)deprecated
- func (x *BlockData) GetClock() *Clock
- func (x *BlockData) GetCursor() string
- func (x *BlockData) GetPayload() *anypb.Any
- func (*BlockData) ProtoMessage()
- func (x *BlockData) ProtoReflect() protoreflect.Message
- func (x *BlockData) Reset()
- func (x *BlockData) String() string
- type BlockRef
- type Block_Data
- type Block_Undo
- type Clock
- func (*Clock) Descriptor() ([]byte, []int)deprecated
- func (x *Clock) GetId() string
- func (x *Clock) GetNumber() uint64
- func (x *Clock) GetTimestamp() *timestamppb.Timestamp
- func (*Clock) ProtoMessage()
- func (x *Clock) ProtoReflect() protoreflect.Message
- func (x *Clock) Reset()
- func (x *Clock) String() string
- type UndoSignal
- func (*UndoSignal) Descriptor() ([]byte, []int)deprecated
- func (x *UndoSignal) GetLastValidBlock() *BlockRef
- func (x *UndoSignal) GetLastValidCursor() string
- func (*UndoSignal) ProtoMessage()
- func (x *UndoSignal) ProtoReflect() protoreflect.Message
- func (x *UndoSignal) Reset()
- func (x *UndoSignal) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ursa_block_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { // Types that are assignable to Message: // *Block_Data // *Block_Undo Message isBlock_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetMessage ¶
func (m *Block) GetMessage() isBlock_Message
func (*Block) GetUndo ¶
func (x *Block) GetUndo() *UndoSignal
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockData ¶
type BlockData struct { Clock *Clock `protobuf:"bytes,1,opt,name=clock,proto3" json:"clock,omitempty"` Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` Payload *anypb.Any `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*BlockData) Descriptor
deprecated
func (*BlockData) GetPayload ¶
func (*BlockData) ProtoMessage ¶
func (*BlockData) ProtoMessage()
func (*BlockData) ProtoReflect ¶
func (x *BlockData) ProtoReflect() protoreflect.Message
type BlockRef ¶
type BlockRef struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*BlockRef) Descriptor
deprecated
func (*BlockRef) ProtoMessage ¶
func (*BlockRef) ProtoMessage()
func (*BlockRef) ProtoReflect ¶
func (x *BlockRef) ProtoReflect() protoreflect.Message
type Block_Data ¶
type Block_Data struct {
Data *BlockData `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
type Block_Undo ¶
type Block_Undo struct {
Undo *UndoSignal `protobuf:"bytes,2,opt,name=undo,proto3,oneof"`
}
type Clock ¶
type Clock struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Clock) Descriptor
deprecated
func (*Clock) GetTimestamp ¶
func (x *Clock) GetTimestamp() *timestamppb.Timestamp
func (*Clock) ProtoMessage ¶
func (*Clock) ProtoMessage()
func (*Clock) ProtoReflect ¶
func (x *Clock) ProtoReflect() protoreflect.Message
type UndoSignal ¶
type UndoSignal struct { LastValidBlock *BlockRef `protobuf:"bytes,1,opt,name=last_valid_block,json=lastValidBlock,proto3" json:"last_valid_block,omitempty"` LastValidCursor string `protobuf:"bytes,2,opt,name=last_valid_cursor,json=lastValidCursor,proto3" json:"last_valid_cursor,omitempty"` // contains filtered or unexported fields }
func (*UndoSignal) Descriptor
deprecated
func (*UndoSignal) Descriptor() ([]byte, []int)
Deprecated: Use UndoSignal.ProtoReflect.Descriptor instead.
func (*UndoSignal) GetLastValidBlock ¶
func (x *UndoSignal) GetLastValidBlock() *BlockRef
func (*UndoSignal) GetLastValidCursor ¶
func (x *UndoSignal) GetLastValidCursor() string
func (*UndoSignal) ProtoMessage ¶
func (*UndoSignal) ProtoMessage()
func (*UndoSignal) ProtoReflect ¶
func (x *UndoSignal) ProtoReflect() protoreflect.Message
func (*UndoSignal) Reset ¶
func (x *UndoSignal) Reset()
func (*UndoSignal) String ¶
func (x *UndoSignal) String() string
Click to show internal directories.
Click to hide internal directories.