Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPitayaClient
- func (m *MockPitayaClient) Call(ctx context.Context, in *protos.Request, opts ...grpc.CallOption) (*protos.Response, error)
- func (m *MockPitayaClient) EXPECT() *MockPitayaClientMockRecorder
- func (m *MockPitayaClient) PushToUser(ctx context.Context, in *protos.Push, opts ...grpc.CallOption) (*protos.Response, error)
- func (m *MockPitayaClient) SessionBindRemote(ctx context.Context, in *protos.BindMsg, opts ...grpc.CallOption) (*protos.Response, error)
- type MockPitayaClientMockRecorder
- func (mr *MockPitayaClientMockRecorder) Call(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPitayaClientMockRecorder) PushToUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPitayaClientMockRecorder) SessionBindRemote(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockPitayaServer
- func (m *MockPitayaServer) Call(arg0 context.Context, arg1 *protos.Request) (*protos.Response, error)
- func (m *MockPitayaServer) EXPECT() *MockPitayaServerMockRecorder
- func (m *MockPitayaServer) PushToUser(arg0 context.Context, arg1 *protos.Push) (*protos.Response, error)
- func (m *MockPitayaServer) SessionBindRemote(arg0 context.Context, arg1 *protos.BindMsg) (*protos.Response, error)
- type MockPitayaServerMockRecorder
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 ¶
func (m *MockPitayaClient) Call(ctx context.Context, in *protos.Request, opts ...grpc.CallOption) (*protos.Response, error)
Call mocks base method
func (*MockPitayaClient) EXPECT ¶
func (m *MockPitayaClient) EXPECT() *MockPitayaClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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 ¶
func (m *MockPitayaServer) Call(arg0 context.Context, arg1 *protos.Request) (*protos.Response, error)
Call mocks base method
func (*MockPitayaServer) EXPECT ¶
func (m *MockPitayaServer) EXPECT() *MockPitayaServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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