Documentation ¶
Index ¶
- type BasicSender
- type Mock
- func (p *Mock) Close() error
- func (p *Mock) GetCount() int
- func (p *Mock) Publish(topic string, messages ...*message.Message) error
- func (p *Mock) SetBaseChecker(fn checker.Checker)
- func (p *Mock) SetChecker(fn checker.CallbackFn)
- func (p *Mock) SetResendMode(ctx context.Context, sender BasicSender)
- func (p *Mock) SetTypedChecker(ctx context.Context, t minimock.Tester, sender BasicSender) *checker.Typed
- func (p *Mock) SetTypedCheckerWithLightStubs(ctx context.Context, t minimock.Tester, sender Sender) *checker.Typed
- func (p *Mock) WaitCount(count int, timeout time.Duration) bool
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
func (*Mock) SetBaseChecker ¶
func (*Mock) SetChecker ¶
func (p *Mock) SetChecker(fn checker.CallbackFn)
func (*Mock) SetResendMode ¶
func (p *Mock) SetResendMode(ctx context.Context, sender BasicSender)
func (*Mock) SetTypedChecker ¶
func (*Mock) SetTypedCheckerWithLightStubs ¶
type Sender ¶
type Sender interface { BasicSender SendPayload(ctx context.Context, pl rmsreg.GoGoSerializable) }
Click to show internal directories.
Click to hide internal directories.