mocks

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSub

type PubSub struct {
	mock.Mock
}

PubSub is an autogenerated mock type for the PubSub type

func (*PubSub) Close

func (_m *PubSub) Close() error

Close provides a mock function with given fields:

func (*PubSub) Publish

func (_m *PubSub) Publish(topic string, data interface{}) error

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

func (*PubSub) Subscribe

func (_m *PubSub) Subscribe(topic string) (interface{}, error)

Subscribe provides a mock function with given fields: topic

Jump to

Keyboard shortcuts

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