Documentation ¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetData() *anypb.Any
- func (x *Command) GetId() string
- func (x *Command) GetType() string
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type TestCommandData
- func (*TestCommandData) Descriptor() ([]byte, []int)deprecated
- func (x *TestCommandData) GetTest() string
- func (x *TestCommandData) GetTestCount() int32
- func (*TestCommandData) ProtoMessage()
- func (x *TestCommandData) ProtoReflect() protoreflect.Message
- func (x *TestCommandData) Reset()
- func (x *TestCommandData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_eventsourcing_commands_command_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Unique identifier of the aggregate the command applies to (UUID 128-bit // number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required // Type of the command Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Command type specific data Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Command is a command to be executed by the CommandHandler
func (*Command) Descriptor
deprecated
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type TestCommandData ¶
type TestCommandData struct { Test string `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` TestCount int32 `protobuf:"varint,2,opt,name=test_count,json=testCount,proto3" json:"test_count,omitempty"` // contains filtered or unexported fields }
func (*TestCommandData) Descriptor
deprecated
func (*TestCommandData) Descriptor() ([]byte, []int)
Deprecated: Use TestCommandData.ProtoReflect.Descriptor instead.
func (*TestCommandData) GetTest ¶
func (x *TestCommandData) GetTest() string
func (*TestCommandData) GetTestCount ¶
func (x *TestCommandData) GetTestCount() int32
func (*TestCommandData) ProtoMessage ¶
func (*TestCommandData) ProtoMessage()
func (*TestCommandData) ProtoReflect ¶
func (x *TestCommandData) ProtoReflect() protoreflect.Message
func (*TestCommandData) Reset ¶
func (x *TestCommandData) Reset()
func (*TestCommandData) String ¶
func (x *TestCommandData) String() string
Click to show internal directories.
Click to hide internal directories.