mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 5 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 MockPitayaClient

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

MockPitayaClient is a mock of PitayaClient interface

func NewMockPitayaClient

func NewMockPitayaClient(ctrl *gomock.Controller) *MockPitayaClient

NewMockPitayaClient creates a new mock instance

func (*MockPitayaClient) Call

Call mocks base method

func (*MockPitayaClient) EXPECT

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

func (*MockPitayaClient) KickUser added in v0.7.6

func (m *MockPitayaClient) KickUser(ctx context.Context, in *protos.KickMsg, opts ...grpc.CallOption) (*protos.KickAnswer, error)

KickUser mocks base method

func (*MockPitayaClient) PushToUser

func (m *MockPitayaClient) PushToUser(ctx context.Context, in *protos.Push, opts ...grpc.CallOption) (*protos.Response, error)

PushToUser mocks base method

func (*MockPitayaClient) SessionBindRemote

func (m *MockPitayaClient) SessionBindRemote(ctx context.Context, in *protos.BindMsg, opts ...grpc.CallOption) (*protos.Response, error)

SessionBindRemote mocks base method

type MockPitayaClientMockRecorder

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

MockPitayaClientMockRecorder is the mock recorder for MockPitayaClient

func (*MockPitayaClientMockRecorder) Call

func (mr *MockPitayaClientMockRecorder) Call(ctx, in interface{}, opts ...interface{}) *gomock.Call

Call indicates an expected call of Call

func (*MockPitayaClientMockRecorder) KickUser added in v0.7.6

func (mr *MockPitayaClientMockRecorder) KickUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

KickUser indicates an expected call of KickUser

func (*MockPitayaClientMockRecorder) PushToUser

func (mr *MockPitayaClientMockRecorder) PushToUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

PushToUser indicates an expected call of PushToUser

func (*MockPitayaClientMockRecorder) SessionBindRemote

func (mr *MockPitayaClientMockRecorder) SessionBindRemote(ctx, in interface{}, opts ...interface{}) *gomock.Call

SessionBindRemote indicates an expected call of SessionBindRemote

type MockPitayaServer

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

MockPitayaServer is a mock of PitayaServer interface

func NewMockPitayaServer

func NewMockPitayaServer(ctrl *gomock.Controller) *MockPitayaServer

NewMockPitayaServer creates a new mock instance

func (*MockPitayaServer) Call

Call mocks base method

func (*MockPitayaServer) EXPECT

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

func (*MockPitayaServer) KickUser added in v0.7.6

func (m *MockPitayaServer) KickUser(arg0 context.Context, arg1 *protos.KickMsg) (*protos.KickAnswer, error)

KickUser mocks base method

func (*MockPitayaServer) PushToUser

func (m *MockPitayaServer) PushToUser(arg0 context.Context, arg1 *protos.Push) (*protos.Response, error)

PushToUser mocks base method

func (*MockPitayaServer) SessionBindRemote

func (m *MockPitayaServer) SessionBindRemote(arg0 context.Context, arg1 *protos.BindMsg) (*protos.Response, error)

SessionBindRemote mocks base method

type MockPitayaServerMockRecorder

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

MockPitayaServerMockRecorder is the mock recorder for MockPitayaServer

func (*MockPitayaServerMockRecorder) Call

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

Call indicates an expected call of Call

func (*MockPitayaServerMockRecorder) KickUser added in v0.7.6

func (mr *MockPitayaServerMockRecorder) KickUser(arg0, arg1 interface{}) *gomock.Call

KickUser indicates an expected call of KickUser

func (*MockPitayaServerMockRecorder) PushToUser

func (mr *MockPitayaServerMockRecorder) PushToUser(arg0, arg1 interface{}) *gomock.Call

PushToUser indicates an expected call of PushToUser

func (*MockPitayaServerMockRecorder) SessionBindRemote

func (mr *MockPitayaServerMockRecorder) SessionBindRemote(arg0, arg1 interface{}) *gomock.Call

SessionBindRemote indicates an expected call of SessionBindRemote

Jump to

Keyboard shortcuts

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