Documentation
¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetValue() string
- func (*Command) IsCommand()
- func (*Command) MessageDescription() string
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Event
- type FailedSelfValidatingCommand
- func (*FailedSelfValidatingCommand) Descriptor() ([]byte, []int)deprecated
- func (x *FailedSelfValidatingCommand) GetValue() string
- func (*FailedSelfValidatingCommand) IsCommand()
- func (*FailedSelfValidatingCommand) MessageDescription() string
- func (*FailedSelfValidatingCommand) ProtoMessage()
- func (x *FailedSelfValidatingCommand) ProtoReflect() protoreflect.Message
- func (x *FailedSelfValidatingCommand) Reset()
- func (x *FailedSelfValidatingCommand) String() string
- func (*FailedSelfValidatingCommand) Validate() error
- type FailedSelfValidatingEvent
- func (*FailedSelfValidatingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FailedSelfValidatingEvent) GetValue() string
- func (*FailedSelfValidatingEvent) IsEvent()
- func (*FailedSelfValidatingEvent) MessageDescription() string
- func (*FailedSelfValidatingEvent) ProtoMessage()
- func (x *FailedSelfValidatingEvent) ProtoReflect() protoreflect.Message
- func (x *FailedSelfValidatingEvent) Reset()
- func (x *FailedSelfValidatingEvent) String() string
- func (*FailedSelfValidatingEvent) Validate() error
- type Message
- type MessageA
- type MessageB
- type MessageC
- type MessageD
- type MessageE
- type MessageF
- type NoPackage
- type NonAxMessage
- type SelfValidatingCommand
- func (*SelfValidatingCommand) Descriptor() ([]byte, []int)deprecated
- func (x *SelfValidatingCommand) GetValue() string
- func (*SelfValidatingCommand) IsCommand()
- func (*SelfValidatingCommand) MessageDescription() string
- func (*SelfValidatingCommand) ProtoMessage()
- func (x *SelfValidatingCommand) ProtoReflect() protoreflect.Message
- func (x *SelfValidatingCommand) Reset()
- func (x *SelfValidatingCommand) String() string
- func (*SelfValidatingCommand) Validate() error
- type SelfValidatingEvent
- func (*SelfValidatingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SelfValidatingEvent) GetValue() string
- func (*SelfValidatingEvent) IsEvent()
- func (*SelfValidatingEvent) MessageDescription() string
- func (*SelfValidatingEvent) ProtoMessage()
- func (x *SelfValidatingEvent) ProtoReflect() protoreflect.Message
- func (x *SelfValidatingEvent) Reset()
- func (x *SelfValidatingEvent) String() string
- func (*SelfValidatingEvent) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_github_com_jmalloc_ax_axtest_testmessages_messages_proto protoreflect.FileDescriptor
var File_github_com_jmalloc_ax_axtest_testmessages_nopackage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Command is a protocol buffers message that implements ax.Command.
func (*Command) Descriptor
deprecated
func (*Command) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶ added in v0.4.2
func (x *Command) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Event is a protocol buffers message that implements ax.Event.
func (*Event) Descriptor
deprecated
func (*Event) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.4.2
func (x *Event) ProtoReflect() protoreflect.Message
type FailedSelfValidatingCommand ¶
type FailedSelfValidatingCommand struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
FailedSelfValidatingCommand is a protocol buffers message that implements both ax.Command and endpoint.SelfValidatingMessage. Its Validate method returns validation error to test failure scenarios in unit tests
func (*FailedSelfValidatingCommand) Descriptor
deprecated
func (*FailedSelfValidatingCommand) Descriptor() ([]byte, []int)
Deprecated: Use FailedSelfValidatingCommand.ProtoReflect.Descriptor instead.
func (*FailedSelfValidatingCommand) GetValue ¶
func (x *FailedSelfValidatingCommand) GetValue() string
func (*FailedSelfValidatingCommand) IsCommand ¶
func (*FailedSelfValidatingCommand) IsCommand()
IsCommand marks the message as a command.
func (*FailedSelfValidatingCommand) MessageDescription ¶
func (*FailedSelfValidatingCommand) MessageDescription() string
MessageDescription returns a human-readable description of the message.
func (*FailedSelfValidatingCommand) ProtoMessage ¶
func (*FailedSelfValidatingCommand) ProtoMessage()
func (*FailedSelfValidatingCommand) ProtoReflect ¶ added in v0.4.2
func (x *FailedSelfValidatingCommand) ProtoReflect() protoreflect.Message
func (*FailedSelfValidatingCommand) Reset ¶
func (x *FailedSelfValidatingCommand) Reset()
func (*FailedSelfValidatingCommand) String ¶
func (x *FailedSelfValidatingCommand) String() string
func (*FailedSelfValidatingCommand) Validate ¶
func (*FailedSelfValidatingCommand) Validate() error
Validate implements the endpoint.SelfValidatingMessage interface. It always returns a test validation message.
type FailedSelfValidatingEvent ¶
type FailedSelfValidatingEvent struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
FailedSelfValidatingEvent is a protocol buffers message that implements both ax.Event and endpoint.SelfValidatingMessage. Its Validate method returns validation error to test failure scenarios in unit tests
func (*FailedSelfValidatingEvent) Descriptor
deprecated
func (*FailedSelfValidatingEvent) Descriptor() ([]byte, []int)
Deprecated: Use FailedSelfValidatingEvent.ProtoReflect.Descriptor instead.
func (*FailedSelfValidatingEvent) GetValue ¶
func (x *FailedSelfValidatingEvent) GetValue() string
func (*FailedSelfValidatingEvent) IsEvent ¶
func (*FailedSelfValidatingEvent) IsEvent()
IsEvent marks the message as an event.
func (*FailedSelfValidatingEvent) MessageDescription ¶
func (*FailedSelfValidatingEvent) MessageDescription() string
MessageDescription returns a human-readable description of the message.
func (*FailedSelfValidatingEvent) ProtoMessage ¶
func (*FailedSelfValidatingEvent) ProtoMessage()
func (*FailedSelfValidatingEvent) ProtoReflect ¶ added in v0.4.2
func (x *FailedSelfValidatingEvent) ProtoReflect() protoreflect.Message
func (*FailedSelfValidatingEvent) Reset ¶
func (x *FailedSelfValidatingEvent) Reset()
func (*FailedSelfValidatingEvent) String ¶
func (x *FailedSelfValidatingEvent) String() string
func (*FailedSelfValidatingEvent) Validate ¶
func (*FailedSelfValidatingEvent) Validate() error
Validate implements the endpoint.SelfValidatingMessage interface. It always returns a test validation message.
type Message ¶
type Message struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Message is a protocol buffers message that implements ax.Message.
func (*Message) Descriptor
deprecated
func (*Message) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v0.4.2
func (x *Message) ProtoReflect() protoreflect.Message
type MessageA ¶
type MessageA struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageA is a protocol buffers message that implements ax.Message.
func (*MessageA) Descriptor
deprecated
func (*MessageA) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageA) ProtoMessage ¶
func (*MessageA) ProtoMessage()
func (*MessageA) ProtoReflect ¶ added in v0.4.2
func (x *MessageA) ProtoReflect() protoreflect.Message
type MessageB ¶
type MessageB struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageB is a protocol buffers message that implements ax.Message.
func (*MessageB) Descriptor
deprecated
func (*MessageB) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageB) ProtoMessage ¶
func (*MessageB) ProtoMessage()
func (*MessageB) ProtoReflect ¶ added in v0.4.2
func (x *MessageB) ProtoReflect() protoreflect.Message
type MessageC ¶
type MessageC struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageC is a protocol buffers message that implements ax.Message.
func (*MessageC) Descriptor
deprecated
func (*MessageC) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageC) ProtoMessage ¶
func (*MessageC) ProtoMessage()
func (*MessageC) ProtoReflect ¶ added in v0.4.2
func (x *MessageC) ProtoReflect() protoreflect.Message
type MessageD ¶
type MessageD struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageD is a protocol buffers message that implements ax.Message.
func (*MessageD) Descriptor
deprecated
func (*MessageD) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageD) ProtoMessage ¶
func (*MessageD) ProtoMessage()
func (*MessageD) ProtoReflect ¶ added in v0.4.2
func (x *MessageD) ProtoReflect() protoreflect.Message
type MessageE ¶
type MessageE struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageE is a protocol buffers message that implements ax.Message.
func (*MessageE) Descriptor
deprecated
func (*MessageE) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageE) ProtoMessage ¶
func (*MessageE) ProtoMessage()
func (*MessageE) ProtoReflect ¶ added in v0.4.2
func (x *MessageE) ProtoReflect() protoreflect.Message
type MessageF ¶
type MessageF struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageF is a protocol buffers message that implements ax.Message.
func (*MessageF) Descriptor
deprecated
func (*MessageF) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*MessageF) ProtoMessage ¶
func (*MessageF) ProtoMessage()
func (*MessageF) ProtoReflect ¶ added in v0.4.2
func (x *MessageF) ProtoReflect() protoreflect.Message
type NoPackage ¶
type NoPackage struct {
// contains filtered or unexported fields
}
func (*NoPackage) Descriptor
deprecated
func (*NoPackage) MessageDescription ¶
MessageDescription returns a human-readable description of the message.
func (*NoPackage) ProtoMessage ¶
func (*NoPackage) ProtoMessage()
func (*NoPackage) ProtoReflect ¶ added in v0.4.2
func (x *NoPackage) ProtoReflect() protoreflect.Message
type NonAxMessage ¶
type NonAxMessage struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
NonAxMessage is a protocol buffers message that does not implement ax.Message.
func (*NonAxMessage) Descriptor
deprecated
func (*NonAxMessage) Descriptor() ([]byte, []int)
Deprecated: Use NonAxMessage.ProtoReflect.Descriptor instead.
func (*NonAxMessage) GetValue ¶
func (x *NonAxMessage) GetValue() string
func (*NonAxMessage) ProtoMessage ¶
func (*NonAxMessage) ProtoMessage()
func (*NonAxMessage) ProtoReflect ¶ added in v0.4.2
func (x *NonAxMessage) ProtoReflect() protoreflect.Message
func (*NonAxMessage) Reset ¶
func (x *NonAxMessage) Reset()
func (*NonAxMessage) String ¶
func (x *NonAxMessage) String() string
type SelfValidatingCommand ¶
type SelfValidatingCommand struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
SelfValidatingCommand is a protocol buffers message that implements both ax.Command and endpoint.SelfValidatingMessage.
func (*SelfValidatingCommand) Descriptor
deprecated
func (*SelfValidatingCommand) Descriptor() ([]byte, []int)
Deprecated: Use SelfValidatingCommand.ProtoReflect.Descriptor instead.
func (*SelfValidatingCommand) GetValue ¶
func (x *SelfValidatingCommand) GetValue() string
func (*SelfValidatingCommand) IsCommand ¶
func (*SelfValidatingCommand) IsCommand()
IsCommand marks the message as a command.
func (*SelfValidatingCommand) MessageDescription ¶
func (*SelfValidatingCommand) MessageDescription() string
MessageDescription returns a human-readable description of the message.
func (*SelfValidatingCommand) ProtoMessage ¶
func (*SelfValidatingCommand) ProtoMessage()
func (*SelfValidatingCommand) ProtoReflect ¶ added in v0.4.2
func (x *SelfValidatingCommand) ProtoReflect() protoreflect.Message
func (*SelfValidatingCommand) Reset ¶
func (x *SelfValidatingCommand) Reset()
func (*SelfValidatingCommand) String ¶
func (x *SelfValidatingCommand) String() string
func (*SelfValidatingCommand) Validate ¶
func (*SelfValidatingCommand) Validate() error
Validate implements the endpoint.SelfValidatingMessage interface
type SelfValidatingEvent ¶
type SelfValidatingEvent struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
SelfValidatingEvent is a protocol buffers message that implements both ax.Event and endpoint.SelfValidatingMessage.
func (*SelfValidatingEvent) Descriptor
deprecated
func (*SelfValidatingEvent) Descriptor() ([]byte, []int)
Deprecated: Use SelfValidatingEvent.ProtoReflect.Descriptor instead.
func (*SelfValidatingEvent) GetValue ¶
func (x *SelfValidatingEvent) GetValue() string
func (*SelfValidatingEvent) IsEvent ¶
func (*SelfValidatingEvent) IsEvent()
IsEvent marks the message as an event.
func (*SelfValidatingEvent) MessageDescription ¶
func (*SelfValidatingEvent) MessageDescription() string
MessageDescription returns a human-readable description of the message.
func (*SelfValidatingEvent) ProtoMessage ¶
func (*SelfValidatingEvent) ProtoMessage()
func (*SelfValidatingEvent) ProtoReflect ¶ added in v0.4.2
func (x *SelfValidatingEvent) ProtoReflect() protoreflect.Message
func (*SelfValidatingEvent) Reset ¶
func (x *SelfValidatingEvent) Reset()
func (*SelfValidatingEvent) String ¶
func (x *SelfValidatingEvent) String() string
func (*SelfValidatingEvent) Validate ¶
func (*SelfValidatingEvent) Validate() error
Validate implements the endpoint.SelfValidatingMessage interface