mockservice

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockservice is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmitter

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

MockEmitter is a mock of Emitter interface

func NewMockEmitter

func NewMockEmitter(ctrl *gomock.Controller) *MockEmitter

NewMockEmitter creates a new mock instance

func (*MockEmitter) AddListener

func (m *MockEmitter) AddListener(arg0 string) (<-chan *grpc.Event, error)

AddListener mocks base method

func (*MockEmitter) Close

func (m *MockEmitter) Close()

Close mocks base method

func (*MockEmitter) EXPECT

func (m *MockEmitter) EXPECT() *MockEmitterMockRecorder

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

func (*MockEmitter) Emit

func (m *MockEmitter) Emit(arg0 *grpc.Event)

Emit mocks base method

func (*MockEmitter) GetListenersCount

func (m *MockEmitter) GetListenersCount(arg0 string) int

GetListenersCount mocks base method

func (*MockEmitter) RemoveListener

func (m *MockEmitter) RemoveListener(arg0 <-chan *grpc.Event)

RemoveListener mocks base method

type MockEmitterMockRecorder

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

MockEmitterMockRecorder is the mock recorder for MockEmitter

func (*MockEmitterMockRecorder) AddListener

func (mr *MockEmitterMockRecorder) AddListener(arg0 interface{}) *gomock.Call

AddListener indicates an expected call of AddListener

func (*MockEmitterMockRecorder) Close

func (mr *MockEmitterMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockEmitterMockRecorder) Emit

func (mr *MockEmitterMockRecorder) Emit(arg0 interface{}) *gomock.Call

Emit indicates an expected call of Emit

func (*MockEmitterMockRecorder) GetListenersCount

func (mr *MockEmitterMockRecorder) GetListenersCount(arg0 interface{}) *gomock.Call

GetListenersCount indicates an expected call of GetListenersCount

func (*MockEmitterMockRecorder) RemoveListener

func (mr *MockEmitterMockRecorder) RemoveListener(arg0 interface{}) *gomock.Call

RemoveListener indicates an expected call of RemoveListener

Jump to

Keyboard shortcuts

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