Documentation ¶
Index ¶
- type Command1
- type Command2
- type Command3
- type EmptyProtoCommand
- func (*EmptyProtoCommand) Descriptor() ([]byte, []int)
- func (*EmptyProtoCommand) ProtoMessage()
- func (m *EmptyProtoCommand) Reset()
- func (*EmptyProtoCommand) SchemaName() string
- func (m *EmptyProtoCommand) String() string
- func (m *EmptyProtoCommand) XXX_DiscardUnknown()
- func (m *EmptyProtoCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyProtoCommand) XXX_Merge(src proto.Message)
- func (m *EmptyProtoCommand) XXX_Size() int
- func (m *EmptyProtoCommand) XXX_Unmarshal(b []byte) error
- type Event1
- type Event2
- type PoisonMessage
- type ProtoCommand
- func (*ProtoCommand) Descriptor() ([]byte, []int)
- func (m *ProtoCommand) GetSomeData() string
- func (m *ProtoCommand) GetSomeNumber() int64
- func (*ProtoCommand) ProtoMessage()
- func (m *ProtoCommand) Reset()
- func (*ProtoCommand) SchemaName() string
- func (m *ProtoCommand) String() string
- func (m *ProtoCommand) XXX_DiscardUnknown()
- func (m *ProtoCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoCommand) XXX_Merge(src proto.Message)
- func (m *ProtoCommand) XXX_Size() int
- func (m *ProtoCommand) XXX_Unmarshal(b []byte) error
- type Reply1
- type Reply2
- type Reply3
- type ReplyToCreatorSaga2
- func (s *ReplyToCreatorSaga2) HandleCommand2(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToCreatorSaga2) HandleCommand3(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToCreatorSaga2) IsComplete() bool
- func (s *ReplyToCreatorSaga2) New() gbus.Saga
- func (s *ReplyToCreatorSaga2) RegisterAllHandlers(register gbus.HandlerRegister)
- func (*ReplyToCreatorSaga2) StartedBy() []gbus.Message
- type ReplyToInitiatorSaga1
- func (s *ReplyToInitiatorSaga1) HandleCommand1(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToInitiatorSaga1) HandleRepl2(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToInitiatorSaga1) IsComplete() bool
- func (s *ReplyToInitiatorSaga1) New() gbus.Saga
- func (s *ReplyToInitiatorSaga1) RegisterAllHandlers(register gbus.HandlerRegister)
- func (*ReplyToInitiatorSaga1) StartedBy() []gbus.Message
- type ReplyToInitiatorSaga3
- func (s *ReplyToInitiatorSaga3) HandleCommand1(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToInitiatorSaga3) HandleCommand2(invocation gbus.Invocation, message *gbus.BusMessage) error
- func (s *ReplyToInitiatorSaga3) IsComplete() bool
- func (s *ReplyToInitiatorSaga3) New() gbus.Saga
- func (s *ReplyToInitiatorSaga3) RegisterAllHandlers(register gbus.HandlerRegister)
- func (*ReplyToInitiatorSaga3) StartedBy() []gbus.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command1 ¶
type Command1 struct {
Data string
}
Command1 for testing
func (Command1) SchemaName ¶
SchemaName implementing gbus.Message
type Command2 ¶
type Command2 struct {
Data string
}
Command2 for testing
func (Command2) SchemaName ¶
SchemaName implementing gbus.Message
type Command3 ¶ added in v1.1.2
type Command3 struct {
Data string
}
Command3 for testing
func (Command3) SchemaName ¶ added in v1.1.2
SchemaName implementing gbus.Message
type EmptyProtoCommand ¶ added in v1.1.2
type EmptyProtoCommand struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyProtoCommand) Descriptor ¶ added in v1.1.2
func (*EmptyProtoCommand) Descriptor() ([]byte, []int)
func (*EmptyProtoCommand) ProtoMessage ¶ added in v1.1.2
func (*EmptyProtoCommand) ProtoMessage()
func (*EmptyProtoCommand) Reset ¶ added in v1.1.2
func (m *EmptyProtoCommand) Reset()
func (*EmptyProtoCommand) SchemaName ¶ added in v1.1.2
func (*EmptyProtoCommand) SchemaName() string
func (*EmptyProtoCommand) String ¶ added in v1.1.2
func (m *EmptyProtoCommand) String() string
func (*EmptyProtoCommand) XXX_DiscardUnknown ¶ added in v1.1.2
func (m *EmptyProtoCommand) XXX_DiscardUnknown()
func (*EmptyProtoCommand) XXX_Marshal ¶ added in v1.1.2
func (m *EmptyProtoCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyProtoCommand) XXX_Merge ¶ added in v1.1.2
func (m *EmptyProtoCommand) XXX_Merge(src proto.Message)
func (*EmptyProtoCommand) XXX_Size ¶ added in v1.1.2
func (m *EmptyProtoCommand) XXX_Size() int
func (*EmptyProtoCommand) XXX_Unmarshal ¶ added in v1.1.2
func (m *EmptyProtoCommand) XXX_Unmarshal(b []byte) error
type PoisonMessage ¶ added in v1.1.0
type PoisonMessage struct { }
PoisonMessage is a malformed message to test poison pill scenarios
func (PoisonMessage) SchemaName ¶ added in v1.1.0
func (PoisonMessage) SchemaName() string
SchemaName implementing gbus.Message
type ProtoCommand ¶ added in v1.0.2
type ProtoCommand struct { SomeNumber int64 `protobuf:"varint,1,opt,name=some_number,json=someNumber,proto3" json:"some_number,omitempty"` SomeData string `protobuf:"bytes,2,opt,name=some_data,json=someData,proto3" json:"some_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProtoCommand) Descriptor ¶ added in v1.0.2
func (*ProtoCommand) Descriptor() ([]byte, []int)
func (*ProtoCommand) GetSomeData ¶ added in v1.0.2
func (m *ProtoCommand) GetSomeData() string
func (*ProtoCommand) GetSomeNumber ¶ added in v1.0.2
func (m *ProtoCommand) GetSomeNumber() int64
func (*ProtoCommand) ProtoMessage ¶ added in v1.0.2
func (*ProtoCommand) ProtoMessage()
func (*ProtoCommand) Reset ¶ added in v1.0.2
func (m *ProtoCommand) Reset()
func (*ProtoCommand) SchemaName ¶ added in v1.0.2
func (*ProtoCommand) SchemaName() string
SchemaName implements the gbus.Message contract for ProtoCommand
func (*ProtoCommand) String ¶ added in v1.0.2
func (m *ProtoCommand) String() string
func (*ProtoCommand) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *ProtoCommand) XXX_DiscardUnknown()
func (*ProtoCommand) XXX_Marshal ¶ added in v1.0.2
func (m *ProtoCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoCommand) XXX_Merge ¶ added in v1.0.2
func (m *ProtoCommand) XXX_Merge(src proto.Message)
func (*ProtoCommand) XXX_Size ¶ added in v1.0.2
func (m *ProtoCommand) XXX_Size() int
func (*ProtoCommand) XXX_Unmarshal ¶ added in v1.0.2
func (m *ProtoCommand) XXX_Unmarshal(b []byte) error
type Reply3 ¶ added in v1.1.2
type Reply3 struct {
Data string
}
Reply3 for testing
func (Reply3) SchemaName ¶ added in v1.1.2
SchemaName implementing gbus.Message
type ReplyToCreatorSaga2 ¶ added in v1.1.2
type ReplyToCreatorSaga2 struct { }
func (*ReplyToCreatorSaga2) HandleCommand2 ¶ added in v1.1.2
func (s *ReplyToCreatorSaga2) HandleCommand2(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToCreatorSaga2) HandleCommand3 ¶ added in v1.1.2
func (s *ReplyToCreatorSaga2) HandleCommand3(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToCreatorSaga2) IsComplete ¶ added in v1.1.2
func (s *ReplyToCreatorSaga2) IsComplete() bool
func (*ReplyToCreatorSaga2) New ¶ added in v1.1.2
func (s *ReplyToCreatorSaga2) New() gbus.Saga
func (*ReplyToCreatorSaga2) RegisterAllHandlers ¶ added in v1.1.2
func (s *ReplyToCreatorSaga2) RegisterAllHandlers(register gbus.HandlerRegister)
func (*ReplyToCreatorSaga2) StartedBy ¶ added in v1.1.2
func (*ReplyToCreatorSaga2) StartedBy() []gbus.Message
type ReplyToInitiatorSaga1 ¶ added in v1.1.2
type ReplyToInitiatorSaga1 struct {
DelegateToSvc string
}
func (*ReplyToInitiatorSaga1) HandleCommand1 ¶ added in v1.1.2
func (s *ReplyToInitiatorSaga1) HandleCommand1(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToInitiatorSaga1) HandleRepl2 ¶ added in v1.1.2
func (s *ReplyToInitiatorSaga1) HandleRepl2(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToInitiatorSaga1) IsComplete ¶ added in v1.1.2
func (s *ReplyToInitiatorSaga1) IsComplete() bool
func (*ReplyToInitiatorSaga1) New ¶ added in v1.1.2
func (s *ReplyToInitiatorSaga1) New() gbus.Saga
func (*ReplyToInitiatorSaga1) RegisterAllHandlers ¶ added in v1.1.2
func (s *ReplyToInitiatorSaga1) RegisterAllHandlers(register gbus.HandlerRegister)
func (*ReplyToInitiatorSaga1) StartedBy ¶ added in v1.1.2
func (*ReplyToInitiatorSaga1) StartedBy() []gbus.Message
type ReplyToInitiatorSaga3 ¶ added in v1.1.3
type ReplyToInitiatorSaga3 struct { }
func (*ReplyToInitiatorSaga3) HandleCommand1 ¶ added in v1.1.3
func (s *ReplyToInitiatorSaga3) HandleCommand1(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToInitiatorSaga3) HandleCommand2 ¶ added in v1.1.3
func (s *ReplyToInitiatorSaga3) HandleCommand2(invocation gbus.Invocation, message *gbus.BusMessage) error
func (*ReplyToInitiatorSaga3) IsComplete ¶ added in v1.1.3
func (s *ReplyToInitiatorSaga3) IsComplete() bool
func (*ReplyToInitiatorSaga3) New ¶ added in v1.1.3
func (s *ReplyToInitiatorSaga3) New() gbus.Saga
func (*ReplyToInitiatorSaga3) RegisterAllHandlers ¶ added in v1.1.3
func (s *ReplyToInitiatorSaga3) RegisterAllHandlers(register gbus.HandlerRegister)
func (*ReplyToInitiatorSaga3) StartedBy ¶ added in v1.1.3
func (*ReplyToInitiatorSaga3) StartedBy() []gbus.Message
Click to show internal directories.
Click to hide internal directories.