Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNatsConnection
- func (fake *FakeNatsConnection) Close()
- func (fake *FakeNatsConnection) CloseCallCount() int
- func (fake *FakeNatsConnection) CloseCalls(stub func())
- func (fake *FakeNatsConnection) Invocations() map[string][][]interface{}
- func (fake *FakeNatsConnection) Publish(arg1 string, arg2 []byte) error
- func (fake *FakeNatsConnection) PublishArgsForCall(i int) (string, []byte)
- func (fake *FakeNatsConnection) PublishCallCount() int
- func (fake *FakeNatsConnection) PublishCalls(stub func(string, []byte) error)
- func (fake *FakeNatsConnection) PublishReturns(result1 error)
- func (fake *FakeNatsConnection) PublishReturnsOnCall(i int, result1 error)
- func (fake *FakeNatsConnection) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)
- func (fake *FakeNatsConnection) SubscribeArgsForCall(i int) (string, nats.MsgHandler)
- func (fake *FakeNatsConnection) SubscribeCallCount() int
- func (fake *FakeNatsConnection) SubscribeCalls(stub func(string, nats.MsgHandler) (*nats.Subscription, error))
- func (fake *FakeNatsConnection) SubscribeReturns(result1 *nats.Subscription, result2 error)
- func (fake *FakeNatsConnection) 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 FakeNatsConnection ¶
type FakeNatsConnection struct { CloseStub func() PublishStub func(string, []byte) error SubscribeStub func(string, nats.MsgHandler) (*nats.Subscription, error) // contains filtered or unexported fields }
func (*FakeNatsConnection) Close ¶
func (fake *FakeNatsConnection) Close()
func (*FakeNatsConnection) CloseCallCount ¶
func (fake *FakeNatsConnection) CloseCallCount() int
func (*FakeNatsConnection) CloseCalls ¶
func (fake *FakeNatsConnection) CloseCalls(stub func())
func (*FakeNatsConnection) Invocations ¶
func (fake *FakeNatsConnection) Invocations() map[string][][]interface{}
func (*FakeNatsConnection) Publish ¶
func (fake *FakeNatsConnection) Publish(arg1 string, arg2 []byte) error
func (*FakeNatsConnection) PublishArgsForCall ¶
func (fake *FakeNatsConnection) PublishArgsForCall(i int) (string, []byte)
func (*FakeNatsConnection) PublishCallCount ¶
func (fake *FakeNatsConnection) PublishCallCount() int
func (*FakeNatsConnection) PublishCalls ¶
func (fake *FakeNatsConnection) PublishCalls(stub func(string, []byte) error)
func (*FakeNatsConnection) PublishReturns ¶
func (fake *FakeNatsConnection) PublishReturns(result1 error)
func (*FakeNatsConnection) PublishReturnsOnCall ¶
func (fake *FakeNatsConnection) PublishReturnsOnCall(i int, result1 error)
func (*FakeNatsConnection) Subscribe ¶
func (fake *FakeNatsConnection) Subscribe(arg1 string, arg2 nats.MsgHandler) (*nats.Subscription, error)
func (*FakeNatsConnection) SubscribeArgsForCall ¶
func (fake *FakeNatsConnection) SubscribeArgsForCall(i int) (string, nats.MsgHandler)
func (*FakeNatsConnection) SubscribeCallCount ¶
func (fake *FakeNatsConnection) SubscribeCallCount() int
func (*FakeNatsConnection) SubscribeCalls ¶
func (fake *FakeNatsConnection) SubscribeCalls(stub func(string, nats.MsgHandler) (*nats.Subscription, error))
func (*FakeNatsConnection) SubscribeReturns ¶
func (fake *FakeNatsConnection) SubscribeReturns(result1 *nats.Subscription, result2 error)
func (*FakeNatsConnection) SubscribeReturnsOnCall ¶
func (fake *FakeNatsConnection) SubscribeReturnsOnCall(i int, result1 *nats.Subscription, result2 error)
Click to show internal directories.
Click to hide internal directories.