Documentation

Overview

    Code generated by counterfeiter. DO NOT EDIT.

    Index

    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) Publish

    func (fake *FakeClient) Publish(arg1 string, arg2 []byte) error

    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)

    Source Files