Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) Publish(arg1 string, arg2 []byte) error
- func (fake *FakeClient) PublishArgsForCall(i int) (string, []byte)
- func (fake *FakeClient) PublishCallCount() int
- func (fake *FakeClient) PublishCalls(stub func(string, []byte) error)
- func (fake *FakeClient) PublishReturns(result1 error)
- func (fake *FakeClient) PublishReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)
- func (fake *FakeClient) SubscribeArgsForCall(i int) (string, nats.MsgHandler)
- func (fake *FakeClient) SubscribeCallCount() int
- func (fake *FakeClient) SubscribeCalls(stub func(string, nats.MsgHandler) (*nats.Subscription, error))
- func (fake *FakeClient) SubscribeReturns(result1 *nats.Subscription, result2 error)
- func (fake *FakeClient) SubscribeReturnsOnCall(i int, result1 *nats.Subscription, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { PublishStub func(string, []byte) error SubscribeStub func(string, nats.MsgHandler) (*nats.Subscription, error) // contains filtered or unexported fields }
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) PublishArgsForCall ¶
func (fake *FakeClient) PublishArgsForCall(i int) (string, []byte)
func (*FakeClient) PublishCallCount ¶
func (fake *FakeClient) PublishCallCount() int
func (*FakeClient) PublishCalls ¶
func (fake *FakeClient) PublishCalls(stub func(string, []byte) error)
func (*FakeClient) PublishReturns ¶
func (fake *FakeClient) PublishReturns(result1 error)
func (*FakeClient) PublishReturnsOnCall ¶
func (fake *FakeClient) PublishReturnsOnCall(i int, result1 error)
func (*FakeClient) Subscribe ¶
func (fake *FakeClient) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)
func (*FakeClient) SubscribeArgsForCall ¶
func (fake *FakeClient) SubscribeArgsForCall(i int) (string, nats.MsgHandler)
func (*FakeClient) SubscribeCallCount ¶
func (fake *FakeClient) SubscribeCallCount() int
func (*FakeClient) SubscribeCalls ¶
func (fake *FakeClient) SubscribeCalls(stub func(string, nats.MsgHandler) (*nats.Subscription, error))
func (*FakeClient) SubscribeReturns ¶
func (fake *FakeClient) SubscribeReturns(result1 *nats.Subscription, result2 error)
func (*FakeClient) SubscribeReturnsOnCall ¶
func (fake *FakeClient) SubscribeReturnsOnCall(i int, result1 *nats.Subscription, result2 error)
Click to show internal directories.
Click to hide internal directories.