Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type PubSub
- func (fake *PubSub) Close() error
- func (fake *PubSub) CloseCallCount() int
- func (fake *PubSub) CloseReturns(result1 error)
- func (fake *PubSub) CloseReturnsOnCall(i int, result1 error)
- func (fake *PubSub) Invocations() map[string][][]interface{}
- func (fake *PubSub) Publish(topic string, messages ...*message.Message) error
- func (fake *PubSub) PublishArgsForCall(i int) (string, []*message.Message)
- func (fake *PubSub) PublishCallCount() int
- func (fake *PubSub) PublishReturns(result1 error)
- func (fake *PubSub) PublishReturnsOnCall(i int, result1 error)
- func (fake *PubSub) SubscribeWithOpts(ctx context.Context, topic string, opts ...spi.Option) (<-chan *message.Message, error)
- func (fake *PubSub) SubscribeWithOptsArgsForCall(i int) (context.Context, string, []spi.Option)
- func (fake *PubSub) SubscribeWithOptsCallCount() int
- func (fake *PubSub) SubscribeWithOptsReturns(result1 <-chan *message.Message, result2 error)
- func (fake *PubSub) SubscribeWithOptsReturnsOnCall(i int, result1 <-chan *message.Message, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSub ¶
type PubSub struct { SubscribeWithOptsStub func(ctx context.Context, topic string, opts ...spi.Option) (<-chan *message.Message, error) PublishStub func(topic string, messages ...*message.Message) error CloseStub func() error // contains filtered or unexported fields }
func (*PubSub) CloseCallCount ¶
func (*PubSub) CloseReturns ¶
func (*PubSub) CloseReturnsOnCall ¶
func (*PubSub) Invocations ¶
func (*PubSub) PublishArgsForCall ¶
func (*PubSub) PublishCallCount ¶
func (*PubSub) PublishReturns ¶
func (*PubSub) PublishReturnsOnCall ¶
func (*PubSub) SubscribeWithOpts ¶
func (*PubSub) SubscribeWithOptsArgsForCall ¶
func (*PubSub) SubscribeWithOptsCallCount ¶
func (*PubSub) SubscribeWithOptsReturns ¶
Click to show internal directories.
Click to hide internal directories.