mockquic

package
v0.0.0-...-533104f Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 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 MockEarlyConnection

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

MockEarlyConnection is a mock of EarlyConnection interface.

func NewMockEarlyConnection

func NewMockEarlyConnection(ctrl *gomock.Controller) *MockEarlyConnection

NewMockEarlyConnection creates a new mock instance.

func (*MockEarlyConnection) AcceptStream

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

AcceptStream mocks base method.

func (*MockEarlyConnection) AcceptUniStream

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

AcceptUniStream mocks base method.

func (*MockEarlyConnection) CloseWithError

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

CloseWithError mocks base method.

func (*MockEarlyConnection) ConnectionState

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

ConnectionState mocks base method.

func (*MockEarlyConnection) Context

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

Context mocks base method.

func (*MockEarlyConnection) EXPECT

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

func (*MockEarlyConnection) HandshakeComplete

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

HandshakeComplete mocks base method.

func (*MockEarlyConnection) LocalAddr

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

LocalAddr mocks base method.

func (*MockEarlyConnection) NextConnection

func (m *MockEarlyConnection) NextConnection() quic.Connection

NextConnection mocks base method.

func (*MockEarlyConnection) OpenStream

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

OpenStream mocks base method.

func (*MockEarlyConnection) OpenStreamSync

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

OpenStreamSync mocks base method.

func (*MockEarlyConnection) OpenUniStream

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

OpenUniStream mocks base method.

func (*MockEarlyConnection) OpenUniStreamSync

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

OpenUniStreamSync mocks base method.

func (*MockEarlyConnection) ReceiveMessage

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

ReceiveMessage mocks base method.

func (*MockEarlyConnection) RemoteAddr

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

RemoteAddr mocks base method.

func (*MockEarlyConnection) SendMessage

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

SendMessage mocks base method.

type MockEarlyConnectionMockRecorder

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

MockEarlyConnectionMockRecorder is the mock recorder for MockEarlyConnection.

func (*MockEarlyConnectionMockRecorder) AcceptStream

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

AcceptStream indicates an expected call of AcceptStream.

func (*MockEarlyConnectionMockRecorder) AcceptUniStream

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

AcceptUniStream indicates an expected call of AcceptUniStream.

func (*MockEarlyConnectionMockRecorder) CloseWithError

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

CloseWithError indicates an expected call of CloseWithError.

func (*MockEarlyConnectionMockRecorder) ConnectionState

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

ConnectionState indicates an expected call of ConnectionState.

func (*MockEarlyConnectionMockRecorder) Context

Context indicates an expected call of Context.

func (*MockEarlyConnectionMockRecorder) HandshakeComplete

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

HandshakeComplete indicates an expected call of HandshakeComplete.

func (*MockEarlyConnectionMockRecorder) LocalAddr

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

LocalAddr indicates an expected call of LocalAddr.

func (*MockEarlyConnectionMockRecorder) NextConnection

func (mr *MockEarlyConnectionMockRecorder) NextConnection() *gomock.Call

NextConnection indicates an expected call of NextConnection.

func (*MockEarlyConnectionMockRecorder) OpenStream

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

OpenStream indicates an expected call of OpenStream.

func (*MockEarlyConnectionMockRecorder) OpenStreamSync

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

OpenStreamSync indicates an expected call of OpenStreamSync.

func (*MockEarlyConnectionMockRecorder) OpenUniStream

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

OpenUniStream indicates an expected call of OpenUniStream.

func (*MockEarlyConnectionMockRecorder) OpenUniStreamSync

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

OpenUniStreamSync indicates an expected call of OpenUniStreamSync.

func (*MockEarlyConnectionMockRecorder) ReceiveMessage

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

ReceiveMessage indicates an expected call of ReceiveMessage.

func (*MockEarlyConnectionMockRecorder) RemoteAddr

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

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockEarlyConnectionMockRecorder) SendMessage

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

SendMessage indicates an expected call of SendMessage.

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

Accept mocks base method.

func (*MockEarlyListener) Addr

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

Addr mocks base method.

func (*MockEarlyListener) Close

func (m *MockEarlyListener) Close() error

Close mocks base method.

func (*MockEarlyListener) EXPECT

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

Addr indicates an expected call of Addr.

func (*MockEarlyListenerMockRecorder) Close

Close indicates an expected call of Close.

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