Versions in this module Expand all Collapse all v0 v0.25.0 Dec 21, 2021 Changes in this version + type MockEarlyListener struct + func NewMockEarlyListener(ctrl *gomock.Controller) *MockEarlyListener + func (m *MockEarlyListener) Accept(arg0 context.Context) (quic.EarlySession, error) + func (m *MockEarlyListener) Addr() net.Addr + func (m *MockEarlyListener) Close() error + func (m *MockEarlyListener) EXPECT() *MockEarlyListenerMockRecorder + type MockEarlyListenerMockRecorder struct + func (mr *MockEarlyListenerMockRecorder) Accept(arg0 interface{}) *gomock.Call + func (mr *MockEarlyListenerMockRecorder) Addr() *gomock.Call + func (mr *MockEarlyListenerMockRecorder) Close() *gomock.Call + type MockEarlySession struct + func NewMockEarlySession(ctrl *gomock.Controller) *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 qerr.ApplicationErrorCode, arg1 string) error + func (m *MockEarlySession) ConnectionState() quic.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) NextSession() quic.Session + 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) ReceiveMessage() ([]byte, error) + func (m *MockEarlySession) RemoteAddr() net.Addr + func (m *MockEarlySession) SendMessage(arg0 []byte) error + type MockEarlySessionMockRecorder struct + 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) NextSession() *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) ReceiveMessage() *gomock.Call + func (mr *MockEarlySessionMockRecorder) RemoteAddr() *gomock.Call + func (mr *MockEarlySessionMockRecorder) SendMessage(arg0 interface{}) *gomock.Call + type MockStream struct + func NewMockStream(ctrl *gomock.Controller) *MockStream + func (m *MockStream) CancelRead(arg0 qerr.StreamErrorCode) + func (m *MockStream) CancelWrite(arg0 qerr.StreamErrorCode) + 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 struct + 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