mocks

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPubsub

type MockPubsub struct {
	// contains filtered or unexported fields
}

MockPubsub is a mock of Pubsub interface.

func NewMockPubsub

func NewMockPubsub(ctrl *gomock.Controller) *MockPubsub

NewMockPubsub creates a new mock instance.

func (*MockPubsub) EXPECT

func (m *MockPubsub) EXPECT() *MockPubsubMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPubsub) Publish

func (m *MockPubsub) Publish(arg0 context.Context, arg1 string, arg2 []byte) error

Publish mocks base method.

func (*MockPubsub) Subscribe

func (m *MockPubsub) Subscribe(arg0 context.Context, arg1 string) chan []byte

Subscribe mocks base method.

type MockPubsubMockRecorder

type MockPubsubMockRecorder struct {
	// contains filtered or unexported fields
}

MockPubsubMockRecorder is the mock recorder for MockPubsub.

func (*MockPubsubMockRecorder) Publish

func (mr *MockPubsubMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockPubsubMockRecorder) Subscribe

func (mr *MockPubsubMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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