Documentation ¶
Overview ¶
Package mock_transport is a generated GoMock package.
Index ¶
- type MockMultiConn
- func (m *MockMultiConn) Accept() (net.Conn, error)
- func (m *MockMultiConn) Addr() string
- func (m *MockMultiConn) Close() error
- func (m *MockMultiConn) Context() context.Context
- func (m *MockMultiConn) EXPECT() *MockMultiConnMockRecorder
- func (m *MockMultiConn) IsClosed() bool
- func (m *MockMultiConn) LastUsage() time.Time
- func (m *MockMultiConn) Open(arg0 context.Context) (net.Conn, error)
- type MockMultiConnMockRecorder
- func (mr *MockMultiConnMockRecorder) Accept() *gomock.Call
- func (mr *MockMultiConnMockRecorder) Addr() *gomock.Call
- func (mr *MockMultiConnMockRecorder) Close() *gomock.Call
- func (mr *MockMultiConnMockRecorder) Context() *gomock.Call
- func (mr *MockMultiConnMockRecorder) IsClosed() *gomock.Call
- func (mr *MockMultiConnMockRecorder) LastUsage() *gomock.Call
- func (mr *MockMultiConnMockRecorder) Open(arg0 interface{}) *gomock.Call
- type MockTransport
- type MockTransportMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMultiConn ¶
type MockMultiConn struct {
// contains filtered or unexported fields
}
MockMultiConn is a mock of MultiConn interface.
func NewMockMultiConn ¶
func NewMockMultiConn(ctrl *gomock.Controller) *MockMultiConn
NewMockMultiConn creates a new mock instance.
func (*MockMultiConn) Accept ¶
func (m *MockMultiConn) Accept() (net.Conn, error)
Accept mocks base method.
func (*MockMultiConn) Context ¶
func (m *MockMultiConn) Context() context.Context
Context mocks base method.
func (*MockMultiConn) EXPECT ¶
func (m *MockMultiConn) EXPECT() *MockMultiConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMultiConn) IsClosed ¶
func (m *MockMultiConn) IsClosed() bool
IsClosed mocks base method.
func (*MockMultiConn) LastUsage ¶
func (m *MockMultiConn) LastUsage() time.Time
LastUsage mocks base method.
type MockMultiConnMockRecorder ¶
type MockMultiConnMockRecorder struct {
// contains filtered or unexported fields
}
MockMultiConnMockRecorder is the mock recorder for MockMultiConn.
func (*MockMultiConnMockRecorder) Accept ¶
func (mr *MockMultiConnMockRecorder) Accept() *gomock.Call
Accept indicates an expected call of Accept.
func (*MockMultiConnMockRecorder) Addr ¶
func (mr *MockMultiConnMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr.
func (*MockMultiConnMockRecorder) Close ¶
func (mr *MockMultiConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockMultiConnMockRecorder) Context ¶
func (mr *MockMultiConnMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockMultiConnMockRecorder) IsClosed ¶
func (mr *MockMultiConnMockRecorder) IsClosed() *gomock.Call
IsClosed indicates an expected call of IsClosed.
func (*MockMultiConnMockRecorder) LastUsage ¶
func (mr *MockMultiConnMockRecorder) LastUsage() *gomock.Call
LastUsage indicates an expected call of LastUsage.
func (*MockMultiConnMockRecorder) Open ¶
func (mr *MockMultiConnMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open.
type MockTransport ¶
type MockTransport struct {
// contains filtered or unexported fields
}
MockTransport is a mock of Transport interface.
func NewMockTransport ¶
func NewMockTransport(ctrl *gomock.Controller) *MockTransport
NewMockTransport creates a new mock instance.
func (*MockTransport) EXPECT ¶
func (m *MockTransport) EXPECT() *MockTransportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransport) SetAccepter ¶
func (m *MockTransport) SetAccepter(arg0 transport.Accepter)
SetAccepter mocks base method.
type MockTransportMockRecorder ¶
type MockTransportMockRecorder struct {
// contains filtered or unexported fields
}
MockTransportMockRecorder is the mock recorder for MockTransport.
func (*MockTransportMockRecorder) Dial ¶
func (mr *MockTransportMockRecorder) Dial(arg0, arg1 interface{}) *gomock.Call
Dial indicates an expected call of Dial.
func (*MockTransportMockRecorder) SetAccepter ¶
func (mr *MockTransportMockRecorder) SetAccepter(arg0 interface{}) *gomock.Call
SetAccepter indicates an expected call of SetAccepter.