mockquic

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 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 MockListener added in v0.13.0

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

MockListener is a mock of Listener interface

func NewMockListener added in v0.13.0

func NewMockListener(ctrl *gomock.Controller) *MockListener

NewMockListener creates a new mock instance

func (*MockListener) Accept added in v0.13.0

func (m *MockListener) Accept(arg0 context.Context) (quic_go.Session, error)

Accept mocks base method

func (*MockListener) Addr added in v0.13.0

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

Addr mocks base method

func (*MockListener) Close added in v0.13.0

func (m *MockListener) Close() error

Close mocks base method

func (*MockListener) EXPECT added in v0.13.0

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

type MockListenerMockRecorder added in v0.13.0

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

MockListenerMockRecorder is the mock recorder for MockListener

func (*MockListenerMockRecorder) Accept added in v0.13.0

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

Accept indicates an expected call of Accept

func (*MockListenerMockRecorder) Addr added in v0.13.0

func (mr *MockListenerMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr

func (*MockListenerMockRecorder) Close added in v0.13.0

func (mr *MockListenerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

type MockSession

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

MockSession is a mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

NewMockSession creates a new mock instance

func (*MockSession) AcceptStream

func (m *MockSession) AcceptStream(arg0 context.Context) (quic_go.Stream, error)

AcceptStream mocks base method

func (*MockSession) AcceptUniStream

func (m *MockSession) AcceptUniStream(arg0 context.Context) (quic_go.ReceiveStream, error)

AcceptUniStream mocks base method

func (*MockSession) Close

func (m *MockSession) Close() error

Close mocks base method

func (*MockSession) CloseWithError

func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 string) error

CloseWithError mocks base method

func (*MockSession) ConnectionState

func (m *MockSession) ConnectionState() tls.ConnectionState

ConnectionState mocks base method

func (*MockSession) Context

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

Context mocks base method

func (*MockSession) EXPECT

func (m *MockSession) EXPECT() *MockSessionMockRecorder

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

func (*MockSession) LocalAddr

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

LocalAddr mocks base method

func (*MockSession) OpenStream

func (m *MockSession) OpenStream() (quic_go.Stream, error)

OpenStream mocks base method

func (*MockSession) OpenStreamSync

func (m *MockSession) OpenStreamSync(arg0 context.Context) (quic_go.Stream, error)

OpenStreamSync mocks base method

func (*MockSession) OpenUniStream

func (m *MockSession) OpenUniStream() (quic_go.SendStream, error)

OpenUniStream mocks base method

func (*MockSession) OpenUniStreamSync

func (m *MockSession) OpenUniStreamSync(arg0 context.Context) (quic_go.SendStream, error)

OpenUniStreamSync mocks base method

func (*MockSession) RemoteAddr

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

RemoteAddr mocks base method

type MockSessionMockRecorder

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

MockSessionMockRecorder is the mock recorder for MockSession

func (*MockSessionMockRecorder) AcceptStream

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

AcceptStream indicates an expected call of AcceptStream

func (*MockSessionMockRecorder) AcceptUniStream

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

AcceptUniStream indicates an expected call of AcceptUniStream

func (*MockSessionMockRecorder) Close

func (mr *MockSessionMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockSessionMockRecorder) CloseWithError

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

CloseWithError indicates an expected call of CloseWithError

func (*MockSessionMockRecorder) ConnectionState

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

ConnectionState indicates an expected call of ConnectionState

func (*MockSessionMockRecorder) Context

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

Context indicates an expected call of Context

func (*MockSessionMockRecorder) LocalAddr

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

LocalAddr indicates an expected call of LocalAddr

func (*MockSessionMockRecorder) OpenStream

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

OpenStream indicates an expected call of OpenStream

func (*MockSessionMockRecorder) OpenStreamSync

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

OpenStreamSync indicates an expected call of OpenStreamSync

func (*MockSessionMockRecorder) OpenUniStream

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

OpenUniStream indicates an expected call of OpenUniStream

func (*MockSessionMockRecorder) OpenUniStreamSync

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

OpenUniStreamSync indicates an expected call of OpenUniStreamSync

func (*MockSessionMockRecorder) RemoteAddr

func (mr *MockSessionMockRecorder) 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) 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