Documentation ¶
Overview ¶
Package mockquic is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mockquic is a generated GoMock package.
Index ¶
- type MockEarlyListener
- type MockEarlyListenerMockRecorder
- type MockEarlySession
- func (m *MockEarlySession) AcceptStream(arg0 context.Context) (quic.Stream, error)
- func (m *MockEarlySession) AcceptUniStream(arg0 context.Context) (quic.ReceiveStream, error)
- func (m *MockEarlySession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 string) error
- func (m *MockEarlySession) ConnectionState() qtls.ConnectionState
- func (m *MockEarlySession) Context() context.Context
- func (m *MockEarlySession) EXPECT() *MockEarlySessionMockRecorder
- func (m *MockEarlySession) HandshakeComplete() context.Context
- func (m *MockEarlySession) LocalAddr() net.Addr
- func (m *MockEarlySession) OpenStream() (quic.Stream, error)
- func (m *MockEarlySession) OpenStreamSync(arg0 context.Context) (quic.Stream, error)
- func (m *MockEarlySession) OpenUniStream() (quic.SendStream, error)
- func (m *MockEarlySession) OpenUniStreamSync(arg0 context.Context) (quic.SendStream, error)
- func (m *MockEarlySession) RemoteAddr() net.Addr
- type MockEarlySessionMockRecorder
- func (mr *MockEarlySessionMockRecorder) AcceptStream(arg0 interface{}) *gomock.Call
- func (mr *MockEarlySessionMockRecorder) AcceptUniStream(arg0 interface{}) *gomock.Call
- func (mr *MockEarlySessionMockRecorder) CloseWithError(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEarlySessionMockRecorder) ConnectionState() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) Context() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) HandshakeComplete() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) LocalAddr() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) OpenStream() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) OpenStreamSync(arg0 interface{}) *gomock.Call
- func (mr *MockEarlySessionMockRecorder) OpenUniStream() *gomock.Call
- func (mr *MockEarlySessionMockRecorder) OpenUniStreamSync(arg0 interface{}) *gomock.Call
- func (mr *MockEarlySessionMockRecorder) RemoteAddr() *gomock.Call
- type MockStream
- func (m *MockStream) CancelRead(arg0 protocol.ApplicationErrorCode)
- func (m *MockStream) CancelWrite(arg0 protocol.ApplicationErrorCode)
- func (m *MockStream) Close() error
- func (m *MockStream) Context() context.Context
- func (m *MockStream) EXPECT() *MockStreamMockRecorder
- func (m *MockStream) Read(arg0 []byte) (int, error)
- func (m *MockStream) SetDeadline(arg0 time.Time) error
- func (m *MockStream) SetReadDeadline(arg0 time.Time) error
- func (m *MockStream) SetWriteDeadline(arg0 time.Time) error
- func (m *MockStream) StreamID() protocol.StreamID
- func (m *MockStream) Write(arg0 []byte) (int, error)
- type MockStreamMockRecorder
- func (mr *MockStreamMockRecorder) CancelRead(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) CancelWrite(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) Close() *gomock.Call
- func (mr *MockStreamMockRecorder) Context() *gomock.Call
- func (mr *MockStreamMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockStreamMockRecorder) StreamID() *gomock.Call
- func (mr *MockStreamMockRecorder) Write(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEarlyListener ¶
type MockEarlyListener struct {
// contains filtered or unexported fields
}
MockEarlyListener is a mock of EarlyListener interface
func NewMockEarlyListener ¶
func NewMockEarlyListener(ctrl *gomock.Controller) *MockEarlyListener
NewMockEarlyListener creates a new mock instance
func (*MockEarlyListener) Accept ¶
func (m *MockEarlyListener) Accept(arg0 context.Context) (quic.EarlySession, error)
Accept mocks base method
func (*MockEarlyListener) EXPECT ¶
func (m *MockEarlyListener) EXPECT() *MockEarlyListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockEarlyListenerMockRecorder ¶
type MockEarlyListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockEarlyListenerMockRecorder is the mock recorder for MockEarlyListener
func (*MockEarlyListenerMockRecorder) Accept ¶
func (mr *MockEarlyListenerMockRecorder) Accept(arg0 interface{}) *gomock.Call
Accept indicates an expected call of Accept
func (*MockEarlyListenerMockRecorder) Addr ¶
func (mr *MockEarlyListenerMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr
func (*MockEarlyListenerMockRecorder) Close ¶
func (mr *MockEarlyListenerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
type MockEarlySession ¶
type MockEarlySession struct {
// contains filtered or unexported fields
}
MockEarlySession is a mock of EarlySession interface
func NewMockEarlySession ¶
func NewMockEarlySession(ctrl *gomock.Controller) *MockEarlySession
NewMockEarlySession creates a new mock instance
func (*MockEarlySession) AcceptStream ¶
AcceptStream mocks base method
func (*MockEarlySession) AcceptUniStream ¶
func (m *MockEarlySession) AcceptUniStream(arg0 context.Context) (quic.ReceiveStream, error)
AcceptUniStream mocks base method
func (*MockEarlySession) CloseWithError ¶
func (m *MockEarlySession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 string) error
CloseWithError mocks base method
func (*MockEarlySession) ConnectionState ¶
func (m *MockEarlySession) ConnectionState() qtls.ConnectionState
ConnectionState mocks base method
func (*MockEarlySession) Context ¶
func (m *MockEarlySession) Context() context.Context
Context mocks base method
func (*MockEarlySession) EXPECT ¶
func (m *MockEarlySession) EXPECT() *MockEarlySessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEarlySession) HandshakeComplete ¶
func (m *MockEarlySession) HandshakeComplete() context.Context
HandshakeComplete mocks base method
func (*MockEarlySession) LocalAddr ¶
func (m *MockEarlySession) LocalAddr() net.Addr
LocalAddr mocks base method
func (*MockEarlySession) OpenStream ¶
func (m *MockEarlySession) OpenStream() (quic.Stream, error)
OpenStream mocks base method
func (*MockEarlySession) OpenStreamSync ¶
OpenStreamSync mocks base method
func (*MockEarlySession) OpenUniStream ¶
func (m *MockEarlySession) OpenUniStream() (quic.SendStream, error)
OpenUniStream mocks base method
func (*MockEarlySession) OpenUniStreamSync ¶
func (m *MockEarlySession) OpenUniStreamSync(arg0 context.Context) (quic.SendStream, error)
OpenUniStreamSync mocks base method
func (*MockEarlySession) RemoteAddr ¶
func (m *MockEarlySession) RemoteAddr() net.Addr
RemoteAddr mocks base method
type MockEarlySessionMockRecorder ¶
type MockEarlySessionMockRecorder struct {
// contains filtered or unexported fields
}
MockEarlySessionMockRecorder is the mock recorder for MockEarlySession
func (*MockEarlySessionMockRecorder) AcceptStream ¶
func (mr *MockEarlySessionMockRecorder) AcceptStream(arg0 interface{}) *gomock.Call
AcceptStream indicates an expected call of AcceptStream
func (*MockEarlySessionMockRecorder) AcceptUniStream ¶
func (mr *MockEarlySessionMockRecorder) AcceptUniStream(arg0 interface{}) *gomock.Call
AcceptUniStream indicates an expected call of AcceptUniStream
func (*MockEarlySessionMockRecorder) CloseWithError ¶
func (mr *MockEarlySessionMockRecorder) CloseWithError(arg0, arg1 interface{}) *gomock.Call
CloseWithError indicates an expected call of CloseWithError
func (*MockEarlySessionMockRecorder) ConnectionState ¶
func (mr *MockEarlySessionMockRecorder) ConnectionState() *gomock.Call
ConnectionState indicates an expected call of ConnectionState
func (*MockEarlySessionMockRecorder) Context ¶
func (mr *MockEarlySessionMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockEarlySessionMockRecorder) HandshakeComplete ¶
func (mr *MockEarlySessionMockRecorder) HandshakeComplete() *gomock.Call
HandshakeComplete indicates an expected call of HandshakeComplete
func (*MockEarlySessionMockRecorder) LocalAddr ¶
func (mr *MockEarlySessionMockRecorder) LocalAddr() *gomock.Call
LocalAddr indicates an expected call of LocalAddr
func (*MockEarlySessionMockRecorder) OpenStream ¶
func (mr *MockEarlySessionMockRecorder) OpenStream() *gomock.Call
OpenStream indicates an expected call of OpenStream
func (*MockEarlySessionMockRecorder) OpenStreamSync ¶
func (mr *MockEarlySessionMockRecorder) OpenStreamSync(arg0 interface{}) *gomock.Call
OpenStreamSync indicates an expected call of OpenStreamSync
func (*MockEarlySessionMockRecorder) OpenUniStream ¶
func (mr *MockEarlySessionMockRecorder) OpenUniStream() *gomock.Call
OpenUniStream indicates an expected call of OpenUniStream
func (*MockEarlySessionMockRecorder) OpenUniStreamSync ¶
func (mr *MockEarlySessionMockRecorder) OpenUniStreamSync(arg0 interface{}) *gomock.Call
OpenUniStreamSync indicates an expected call of OpenUniStreamSync
func (*MockEarlySessionMockRecorder) RemoteAddr ¶
func (mr *MockEarlySessionMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr
type MockStream ¶
type MockStream struct {
// contains filtered or unexported fields
}
MockStream is a mock of Stream interface
func NewMockStream ¶
func NewMockStream(ctrl *gomock.Controller) *MockStream
NewMockStream creates a new mock instance
func (*MockStream) CancelRead ¶
func (m *MockStream) CancelRead(arg0 protocol.ApplicationErrorCode)
CancelRead mocks base method
func (*MockStream) CancelWrite ¶
func (m *MockStream) CancelWrite(arg0 protocol.ApplicationErrorCode)
CancelWrite mocks base method
func (*MockStream) Context ¶
func (m *MockStream) Context() context.Context
Context mocks base method
func (*MockStream) EXPECT ¶
func (m *MockStream) EXPECT() *MockStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStream) Read ¶
func (m *MockStream) Read(arg0 []byte) (int, error)
Read mocks base method
func (*MockStream) SetDeadline ¶
func (m *MockStream) SetDeadline(arg0 time.Time) error
SetDeadline mocks base method
func (*MockStream) SetReadDeadline ¶
func (m *MockStream) SetReadDeadline(arg0 time.Time) error
SetReadDeadline mocks base method
func (*MockStream) SetWriteDeadline ¶
func (m *MockStream) SetWriteDeadline(arg0 time.Time) error
SetWriteDeadline mocks base method
func (*MockStream) StreamID ¶
func (m *MockStream) StreamID() protocol.StreamID
StreamID mocks base method
type MockStreamMockRecorder ¶
type MockStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamMockRecorder is the mock recorder for MockStream
func (*MockStreamMockRecorder) CancelRead ¶
func (mr *MockStreamMockRecorder) CancelRead(arg0 interface{}) *gomock.Call
CancelRead indicates an expected call of CancelRead
func (*MockStreamMockRecorder) CancelWrite ¶
func (mr *MockStreamMockRecorder) CancelWrite(arg0 interface{}) *gomock.Call
CancelWrite indicates an expected call of CancelWrite
func (*MockStreamMockRecorder) Close ¶
func (mr *MockStreamMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStreamMockRecorder) Context ¶
func (mr *MockStreamMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockStreamMockRecorder) Read ¶
func (mr *MockStreamMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockStreamMockRecorder) SetDeadline ¶
func (mr *MockStreamMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
SetDeadline indicates an expected call of SetDeadline
func (*MockStreamMockRecorder) SetReadDeadline ¶
func (mr *MockStreamMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline
func (*MockStreamMockRecorder) SetWriteDeadline ¶
func (mr *MockStreamMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline
func (*MockStreamMockRecorder) StreamID ¶
func (mr *MockStreamMockRecorder) StreamID() *gomock.Call
StreamID indicates an expected call of StreamID
func (*MockStreamMockRecorder) Write ¶
func (mr *MockStreamMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write