Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnection ¶
type MockConnection struct {
// contains filtered or unexported fields
}
MockConnection is a mock of Connection interface.
func NewMockConnection ¶
func NewMockConnection(ctrl *gomock.Controller) *MockConnection
NewMockConnection creates a new mock instance.
func (*MockConnection) EXPECT ¶
func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnection) ReadFromUDP ¶
ReadFromUDP mocks base method.
func (*MockConnection) WriteToUDP ¶
WriteToUDP mocks base method.
type MockConnectionCloser ¶
type MockConnectionCloser struct {
// contains filtered or unexported fields
}
MockConnectionCloser is a mock of ConnectionCloser interface.
func NewMockConnectionCloser ¶
func NewMockConnectionCloser(ctrl *gomock.Controller) *MockConnectionCloser
NewMockConnectionCloser creates a new mock instance.
func (*MockConnectionCloser) Close ¶
func (m *MockConnectionCloser) Close() error
Close mocks base method.
func (*MockConnectionCloser) EXPECT ¶
func (m *MockConnectionCloser) EXPECT() *MockConnectionCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockConnectionCloserMockRecorder ¶
type MockConnectionCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionCloserMockRecorder is the mock recorder for MockConnectionCloser.
func (*MockConnectionCloserMockRecorder) Close ¶
func (mr *MockConnectionCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockConnectionMockRecorder ¶
type MockConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionMockRecorder is the mock recorder for MockConnection.
func (*MockConnectionMockRecorder) Close ¶
func (mr *MockConnectionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnectionMockRecorder) ReadFromUDP ¶
func (mr *MockConnectionMockRecorder) ReadFromUDP(arg0 interface{}) *gomock.Call
ReadFromUDP indicates an expected call of ReadFromUDP.
func (*MockConnectionMockRecorder) WriteToUDP ¶
func (mr *MockConnectionMockRecorder) WriteToUDP(arg0, arg1 interface{}) *gomock.Call
WriteToUDP indicates an expected call of WriteToUDP.
type MockConnectionReader ¶
type MockConnectionReader struct {
// contains filtered or unexported fields
}
MockConnectionReader is a mock of ConnectionReader interface.
func NewMockConnectionReader ¶
func NewMockConnectionReader(ctrl *gomock.Controller) *MockConnectionReader
NewMockConnectionReader creates a new mock instance.
func (*MockConnectionReader) EXPECT ¶
func (m *MockConnectionReader) EXPECT() *MockConnectionReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionReader) ReadFromUDP ¶
ReadFromUDP mocks base method.
type MockConnectionReaderMockRecorder ¶
type MockConnectionReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionReaderMockRecorder is the mock recorder for MockConnectionReader.
func (*MockConnectionReaderMockRecorder) ReadFromUDP ¶
func (mr *MockConnectionReaderMockRecorder) ReadFromUDP(arg0 interface{}) *gomock.Call
ReadFromUDP indicates an expected call of ReadFromUDP.
type MockConnectionWriter ¶
type MockConnectionWriter struct {
// contains filtered or unexported fields
}
MockConnectionWriter is a mock of ConnectionWriter interface.
func NewMockConnectionWriter ¶
func NewMockConnectionWriter(ctrl *gomock.Controller) *MockConnectionWriter
NewMockConnectionWriter creates a new mock instance.
func (*MockConnectionWriter) EXPECT ¶
func (m *MockConnectionWriter) EXPECT() *MockConnectionWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionWriter) WriteToUDP ¶
WriteToUDP mocks base method.
type MockConnectionWriterMockRecorder ¶
type MockConnectionWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionWriterMockRecorder is the mock recorder for MockConnectionWriter.
func (*MockConnectionWriterMockRecorder) WriteToUDP ¶
func (mr *MockConnectionWriterMockRecorder) WriteToUDP(arg0, arg1 interface{}) *gomock.Call
WriteToUDP indicates an expected call of WriteToUDP.