mockquic

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mockquic is a generated GoMock package.

Package mockquic is a generated GoMock package.

Package mockquic is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEarlyListener added in v0.15.0

type MockEarlyListener struct {
	// contains filtered or unexported fields
}

MockEarlyListener is a mock of EarlyListener interface.

func NewMockEarlyListener added in v0.15.0

func NewMockEarlyListener(ctrl *gomock.Controller) *MockEarlyListener

NewMockEarlyListener creates a new mock instance.

func (*MockEarlyListener) Accept added in v0.15.0

Accept mocks base method.

func (*MockEarlyListener) Addr added in v0.15.0

func (m *MockEarlyListener) Addr() net.Addr

Addr mocks base method.

func (*MockEarlyListener) Close added in v0.15.0

func (m *MockEarlyListener) Close() error

Close mocks base method.

func (*MockEarlyListener) EXPECT added in v0.15.0

EXPECT returns an object that allows the caller to indicate expected use.

type MockEarlyListenerMockRecorder added in v0.15.0

type MockEarlyListenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockEarlyListenerMockRecorder is the mock recorder for MockEarlyListener.

func (*MockEarlyListenerMockRecorder) Accept added in v0.15.0

func (mr *MockEarlyListenerMockRecorder) Accept(arg0 interface{}) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockEarlyListenerMockRecorder) Addr added in v0.15.0

Addr indicates an expected call of Addr.

func (*MockEarlyListenerMockRecorder) Close added in v0.15.0

Close indicates an expected call of Close.

type MockEarlySession added in v0.15.0

type MockEarlySession struct {
	// contains filtered or unexported fields
}

MockEarlySession is a mock of EarlySession interface.

func NewMockEarlySession added in v0.15.0

func NewMockEarlySession(ctrl *gomock.Controller) *MockEarlySession

NewMockEarlySession creates a new mock instance.

func (*MockEarlySession) AcceptStream added in v0.15.0

func (m *MockEarlySession) AcceptStream(arg0 context.Context) (quic.Stream, error)

AcceptStream mocks base method.

func (*MockEarlySession) AcceptUniStream added in v0.15.0

func (m *MockEarlySession) AcceptUniStream(arg0 context.Context) (quic.ReceiveStream, error)

AcceptUniStream mocks base method.

func (*MockEarlySession) CloseWithError added in v0.15.0

func (m *MockEarlySession) CloseWithError(arg0 qerr.ApplicationErrorCode, arg1 string) error

CloseWithError mocks base method.

func (*MockEarlySession) ConnectionState added in v0.15.0

func (m *MockEarlySession) ConnectionState() quic.ConnectionState

ConnectionState mocks base method.

func (*MockEarlySession) Context added in v0.15.0

func (m *MockEarlySession) Context() context.Context

Context mocks base method.

func (*MockEarlySession) EXPECT added in v0.15.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEarlySession) HandshakeComplete added in v0.15.0

func (m *MockEarlySession) HandshakeComplete() context.Context

HandshakeComplete mocks base method.

func (*MockEarlySession) LocalAddr added in v0.15.0

func (m *MockEarlySession) LocalAddr() net.Addr

LocalAddr mocks base method.

func (*MockEarlySession) NextSession added in v0.20.0

func (m *MockEarlySession) NextSession() quic.Session

NextSession mocks base method.

func (*MockEarlySession) OpenStream added in v0.15.0

func (m *MockEarlySession) OpenStream() (quic.Stream, error)

OpenStream mocks base method.

func (*MockEarlySession) OpenStreamSync added in v0.15.0

func (m *MockEarlySession) OpenStreamSync(arg0 context.Context) (quic.Stream, error)

OpenStreamSync mocks base method.

func (*MockEarlySession) OpenUniStream added in v0.15.0

func (m *MockEarlySession) OpenUniStream() (quic.SendStream, error)

OpenUniStream mocks base method.

func (*MockEarlySession) OpenUniStreamSync added in v0.15.0

func (m *MockEarlySession) OpenUniStreamSync(arg0 context.Context) (quic.SendStream, error)

OpenUniStreamSync mocks base method.

func (*MockEarlySession) ReceiveMessage added in v0.20.0

func (m *MockEarlySession) ReceiveMessage() ([]byte, error)

ReceiveMessage mocks base method.

func (*MockEarlySession) RemoteAddr added in v0.15.0

func (m *MockEarlySession) RemoteAddr() net.Addr

RemoteAddr mocks base method.

func (*MockEarlySession) SendMessage added in v0.20.0

func (m *MockEarlySession) SendMessage(arg0 []byte) error

SendMessage mocks base method.

type MockEarlySessionMockRecorder added in v0.15.0

type MockEarlySessionMockRecorder struct {
	// contains filtered or unexported fields
}

MockEarlySessionMockRecorder is the mock recorder for MockEarlySession.

func (*MockEarlySessionMockRecorder) AcceptStream added in v0.15.0

func (mr *MockEarlySessionMockRecorder) AcceptStream(arg0 interface{}) *gomock.Call

AcceptStream indicates an expected call of AcceptStream.

func (*MockEarlySessionMockRecorder) AcceptUniStream added in v0.15.0

func (mr *MockEarlySessionMockRecorder) AcceptUniStream(arg0 interface{}) *gomock.Call

AcceptUniStream indicates an expected call of AcceptUniStream.

func (*MockEarlySessionMockRecorder) CloseWithError added in v0.15.0

func (mr *MockEarlySessionMockRecorder) CloseWithError(arg0, arg1 interface{}) *gomock.Call

CloseWithError indicates an expected call of CloseWithError.

func (*MockEarlySessionMockRecorder) ConnectionState added in v0.15.0

func (mr *MockEarlySessionMockRecorder) ConnectionState() *gomock.Call

ConnectionState indicates an expected call of ConnectionState.

func (*MockEarlySessionMockRecorder) Context added in v0.15.0

func (mr *MockEarlySessionMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockEarlySessionMockRecorder) HandshakeComplete added in v0.15.0

func (mr *MockEarlySessionMockRecorder) HandshakeComplete() *gomock.Call

HandshakeComplete indicates an expected call of HandshakeComplete.

func (*MockEarlySessionMockRecorder) LocalAddr added in v0.15.0

func (mr *MockEarlySessionMockRecorder) LocalAddr() *gomock.Call

LocalAddr indicates an expected call of LocalAddr.

func (*MockEarlySessionMockRecorder) NextSession added in v0.20.0

func (mr *MockEarlySessionMockRecorder) NextSession() *gomock.Call

NextSession indicates an expected call of NextSession.

func (*MockEarlySessionMockRecorder) OpenStream added in v0.15.0

func (mr *MockEarlySessionMockRecorder) OpenStream() *gomock.Call

OpenStream indicates an expected call of OpenStream.

func (*MockEarlySessionMockRecorder) OpenStreamSync added in v0.15.0

func (mr *MockEarlySessionMockRecorder) OpenStreamSync(arg0 interface{}) *gomock.Call

OpenStreamSync indicates an expected call of OpenStreamSync.

func (*MockEarlySessionMockRecorder) OpenUniStream added in v0.15.0

func (mr *MockEarlySessionMockRecorder) OpenUniStream() *gomock.Call

OpenUniStream indicates an expected call of OpenUniStream.

func (*MockEarlySessionMockRecorder) OpenUniStreamSync added in v0.15.0

func (mr *MockEarlySessionMockRecorder) OpenUniStreamSync(arg0 interface{}) *gomock.Call

OpenUniStreamSync indicates an expected call of OpenUniStreamSync.

func (*MockEarlySessionMockRecorder) ReceiveMessage added in v0.20.0

func (mr *MockEarlySessionMockRecorder) ReceiveMessage() *gomock.Call

ReceiveMessage indicates an expected call of ReceiveMessage.

func (*MockEarlySessionMockRecorder) RemoteAddr added in v0.15.0

func (mr *MockEarlySessionMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockEarlySessionMockRecorder) SendMessage added in v0.20.0

func (mr *MockEarlySessionMockRecorder) SendMessage(arg0 interface{}) *gomock.Call

SendMessage indicates an expected call of SendMessage.

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 qerr.StreamErrorCode)

CancelRead mocks base method.

func (*MockStream) CancelWrite

func (m *MockStream) CancelWrite(arg0 qerr.StreamErrorCode)

CancelWrite mocks base method.

func (*MockStream) Close

func (m *MockStream) Close() error

Close 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.

func (*MockStream) Write

func (m *MockStream) Write(arg0 []byte) (int, error)

Write 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL