mocks

package
v3.0.0-dev.22 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageClient

type MessageClient struct {
	mock.Mock
}

MessageClient is an autogenerated mock type for the MessageClient type

func (*MessageClient) Connect

func (_m *MessageClient) Connect() error

Connect provides a mock function with given fields:

func (*MessageClient) Disconnect

func (_m *MessageClient) Disconnect() error

Disconnect provides a mock function with given fields:

func (*MessageClient) Publish

func (_m *MessageClient) Publish(message types.MessageEnvelope, topic string) error

Publish provides a mock function with given fields: message, topic

func (*MessageClient) Subscribe

func (_m *MessageClient) Subscribe(topics []types.TopicChannel, messageErrors chan error) error

Subscribe provides a mock function with given fields: topics, messageErrors

Jump to

Keyboard shortcuts

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