Documentation ¶
Overview ¶
Package mock_remoteTelegramCommands is a generated GoMock package.
Package mock_remoteTelegramCommands is a generated GoMock package.
Index ¶
- type MockRemoteCommandClient
- type MockRemoteCommandClientMockRecorder
- type MockRemoteCommand_RegisterCommandClient
- func (m *MockRemoteCommand_RegisterCommandClient) CloseSend() error
- func (m *MockRemoteCommand_RegisterCommandClient) Context() context.Context
- func (m *MockRemoteCommand_RegisterCommandClient) EXPECT() *MockRemoteCommand_RegisterCommandClientMockRecorder
- func (m *MockRemoteCommand_RegisterCommandClient) Header() (metadata.MD, error)
- func (m *MockRemoteCommand_RegisterCommandClient) Recv() (*remoteTelegramCommands.RemoteRequest, error)
- func (m *MockRemoteCommand_RegisterCommandClient) RecvMsg(arg0 interface{}) error
- func (m *MockRemoteCommand_RegisterCommandClient) SendMsg(arg0 interface{}) error
- func (m *MockRemoteCommand_RegisterCommandClient) Trailer() metadata.MD
- type MockRemoteCommand_RegisterCommandClientMockRecorder
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Context() *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Header() *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Recv() *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRemoteCommandClient ¶
type MockRemoteCommandClient struct {
// contains filtered or unexported fields
}
MockRemoteCommandClient is a mock of RemoteCommandClient interface
func NewMockRemoteCommandClient ¶
func NewMockRemoteCommandClient(ctrl *gomock.Controller) *MockRemoteCommandClient
NewMockRemoteCommandClient creates a new mock instance
func (*MockRemoteCommandClient) EXPECT ¶
func (m *MockRemoteCommandClient) EXPECT() *MockRemoteCommandClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRemoteCommandClient) RegisterCommand ¶
func (m *MockRemoteCommandClient) RegisterCommand(arg0 context.Context, arg1 *remoteTelegramCommands.RemoteCommandRequest, arg2 ...grpc.CallOption) (remoteTelegramCommands.RemoteCommand_RegisterCommandClient, error)
RegisterCommand mocks base method
type MockRemoteCommandClientMockRecorder ¶
type MockRemoteCommandClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteCommandClientMockRecorder is the mock recorder for MockRemoteCommandClient
func (*MockRemoteCommandClientMockRecorder) RegisterCommand ¶
func (mr *MockRemoteCommandClientMockRecorder) RegisterCommand(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RegisterCommand indicates an expected call of RegisterCommand
type MockRemoteCommand_RegisterCommandClient ¶
type MockRemoteCommand_RegisterCommandClient struct {
// contains filtered or unexported fields
}
MockRemoteCommand_RegisterCommandClient is a mock of RemoteCommand_RegisterCommandClient interface
func NewMockRemoteCommand_RegisterCommandClient ¶
func NewMockRemoteCommand_RegisterCommandClient(ctrl *gomock.Controller) *MockRemoteCommand_RegisterCommandClient
NewMockRemoteCommand_RegisterCommandClient creates a new mock instance
func (*MockRemoteCommand_RegisterCommandClient) CloseSend ¶
func (m *MockRemoteCommand_RegisterCommandClient) CloseSend() error
CloseSend mocks base method
func (*MockRemoteCommand_RegisterCommandClient) Context ¶
func (m *MockRemoteCommand_RegisterCommandClient) Context() context.Context
Context mocks base method
func (*MockRemoteCommand_RegisterCommandClient) EXPECT ¶
func (m *MockRemoteCommand_RegisterCommandClient) EXPECT() *MockRemoteCommand_RegisterCommandClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRemoteCommand_RegisterCommandClient) Header ¶
func (m *MockRemoteCommand_RegisterCommandClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockRemoteCommand_RegisterCommandClient) Recv ¶
func (m *MockRemoteCommand_RegisterCommandClient) Recv() (*remoteTelegramCommands.RemoteRequest, error)
Recv mocks base method
func (*MockRemoteCommand_RegisterCommandClient) RecvMsg ¶
func (m *MockRemoteCommand_RegisterCommandClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockRemoteCommand_RegisterCommandClient) SendMsg ¶
func (m *MockRemoteCommand_RegisterCommandClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockRemoteCommand_RegisterCommandClient) Trailer ¶
func (m *MockRemoteCommand_RegisterCommandClient) Trailer() metadata.MD
Trailer mocks base method
type MockRemoteCommand_RegisterCommandClientMockRecorder ¶
type MockRemoteCommand_RegisterCommandClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteCommand_RegisterCommandClientMockRecorder is the mock recorder for MockRemoteCommand_RegisterCommandClient
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) CloseSend ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) Context ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) Header ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) Recv ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) RecvMsg ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) SendMsg ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockRemoteCommand_RegisterCommandClientMockRecorder) Trailer ¶
func (mr *MockRemoteCommand_RegisterCommandClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer