mockbus

package
v5.10.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBus

type MockBus struct {
	mock.Mock
}

MockBus ...

func (*MockBus) Err

func (m *MockBus) Err() <-chan error

Err ...

func (*MockBus) Name

func (m *MockBus) Name() string

Name ...

func (*MockBus) Publish

func (m *MockBus) Publish(topic string, message interface{}) error

Publish ...

func (*MockBus) PublishDirect

func (m *MockBus) PublishDirect(ctx context.Context, topic string, message interface{}) error

PublishDirect ...

func (*MockBus) Start

func (m *MockBus) Start() error

Start ...

func (*MockBus) Status

func (m *MockBus) Status() error

Status ...

func (*MockBus) Stop

func (m *MockBus) Stop() error

Stop ...

func (*MockBus) Subscribe

func (m *MockBus) Subscribe(topic string, consumer string, subscriber messaging.Subscriber) (messaging.Subscription, error)

Subscribe ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL