mocks

package
v0.2.1-beta.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT 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 Mockbroadcaster

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

Mockbroadcaster is a mock of broadcaster interface.

func NewMockbroadcaster

func NewMockbroadcaster(ctrl *gomock.Controller) *Mockbroadcaster

NewMockbroadcaster creates a new mock instance.

func (*Mockbroadcaster) Broadcast

func (m *Mockbroadcaster) Broadcast(ctx context.Context, channel string, data []byte) error

Broadcast mocks base method.

func (*Mockbroadcaster) EXPECT

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

type MockbroadcasterMockRecorder

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

MockbroadcasterMockRecorder is the mock recorder for Mockbroadcaster.

func (*MockbroadcasterMockRecorder) Broadcast

func (mr *MockbroadcasterMockRecorder) Broadcast(ctx, channel, data interface{}) *gomock.Call

Broadcast indicates an expected call of Broadcast.

Jump to

Keyboard shortcuts

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