Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConnectionFlowController
- func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
- func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockConnectionFlowController) MaybeQueueWindowUpdate()
- func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
- type MockConnectionFlowControllerMockRecorder
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) MaybeQueueWindowUpdate() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
- type MockSendAlgorithm
- func (m *MockSendAlgorithm) EXPECT() *MockSendAlgorithmMockRecorder
- func (m *MockSendAlgorithm) GetCongestionWindow() protocol.ByteCount
- func (m *MockSendAlgorithm) MaybeExitSlowStart()
- func (m *MockSendAlgorithm) OnConnectionMigration()
- func (m *MockSendAlgorithm) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
- func (m *MockSendAlgorithm) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
- func (m *MockSendAlgorithm) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, ...)
- func (m *MockSendAlgorithm) OnRetransmissionTimeout(arg0 bool)
- func (m *MockSendAlgorithm) SetNumEmulatedConnections(arg0 int)
- func (m *MockSendAlgorithm) SetSlowStartLargeReduction(arg0 bool)
- func (m *MockSendAlgorithm) TimeUntilSend(arg0 protocol.ByteCount) time.Duration
- type MockSendAlgorithmMockRecorder
- func (mr *MockSendAlgorithmMockRecorder) GetCongestionWindow() *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) MaybeExitSlowStart() *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) OnConnectionMigration() *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) SetNumEmulatedConnections(arg0 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) SetSlowStartLargeReduction(arg0 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call
- type MockStreamFlowController
- func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
- func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockStreamFlowController) MaybeQueueWindowUpdate()
- func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
- func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
- type MockStreamFlowControllerMockRecorder
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) MaybeQueueWindowUpdate() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
- type MockTLSExtensionHandler
- func (m *MockTLSExtensionHandler) EXPECT() *MockTLSExtensionHandlerMockRecorder
- func (m *MockTLSExtensionHandler) GetPeerParams() <-chan handshake.TransportParameters
- func (m *MockTLSExtensionHandler) Receive(arg0 mint.HandshakeType, arg1 *mint.ExtensionList) error
- func (m *MockTLSExtensionHandler) Send(arg0 mint.HandshakeType, arg1 *mint.ExtensionList) error
- type MockTLSExtensionHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectionFlowController ¶
type MockConnectionFlowController struct {
// contains filtered or unexported fields
}
MockConnectionFlowController is a mock of ConnectionFlowController interface
func NewMockConnectionFlowController ¶
func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController
NewMockConnectionFlowController creates a new mock instance
func (*MockConnectionFlowController) AddBytesRead ¶
func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method
func (*MockConnectionFlowController) AddBytesSent ¶
func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method
func (*MockConnectionFlowController) EXPECT ¶
func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConnectionFlowController) GetWindowUpdate ¶
func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method
func (*MockConnectionFlowController) IsNewlyBlocked ¶
func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method
func (*MockConnectionFlowController) MaybeQueueWindowUpdate ¶
func (m *MockConnectionFlowController) MaybeQueueWindowUpdate()
MaybeQueueWindowUpdate mocks base method
func (*MockConnectionFlowController) SendWindowSize ¶
func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount
SendWindowSize mocks base method
func (*MockConnectionFlowController) UpdateSendWindow ¶
func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
UpdateSendWindow mocks base method
type MockConnectionFlowControllerMockRecorder ¶
type MockConnectionFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionFlowControllerMockRecorder is the mock recorder for MockConnectionFlowController
func (*MockConnectionFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
AddBytesRead indicates an expected call of AddBytesRead
func (*MockConnectionFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
AddBytesSent indicates an expected call of AddBytesSent
func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
GetWindowUpdate indicates an expected call of GetWindowUpdate
func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked ¶
func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
IsNewlyBlocked indicates an expected call of IsNewlyBlocked
func (*MockConnectionFlowControllerMockRecorder) MaybeQueueWindowUpdate ¶
func (mr *MockConnectionFlowControllerMockRecorder) MaybeQueueWindowUpdate() *gomock.Call
MaybeQueueWindowUpdate indicates an expected call of MaybeQueueWindowUpdate
func (*MockConnectionFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *gomock.Call
SendWindowSize indicates an expected call of SendWindowSize
func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
UpdateSendWindow indicates an expected call of UpdateSendWindow
type MockSendAlgorithm ¶
type MockSendAlgorithm struct {
// contains filtered or unexported fields
}
MockSendAlgorithm is a mock of SendAlgorithm interface
func NewMockSendAlgorithm ¶
func NewMockSendAlgorithm(ctrl *gomock.Controller) *MockSendAlgorithm
NewMockSendAlgorithm creates a new mock instance
func (*MockSendAlgorithm) EXPECT ¶
func (m *MockSendAlgorithm) EXPECT() *MockSendAlgorithmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSendAlgorithm) GetCongestionWindow ¶
func (m *MockSendAlgorithm) GetCongestionWindow() protocol.ByteCount
GetCongestionWindow mocks base method
func (*MockSendAlgorithm) MaybeExitSlowStart ¶
func (m *MockSendAlgorithm) MaybeExitSlowStart()
MaybeExitSlowStart mocks base method
func (*MockSendAlgorithm) OnConnectionMigration ¶
func (m *MockSendAlgorithm) OnConnectionMigration()
OnConnectionMigration mocks base method
func (*MockSendAlgorithm) OnPacketAcked ¶
func (m *MockSendAlgorithm) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
OnPacketAcked mocks base method
func (*MockSendAlgorithm) OnPacketLost ¶
func (m *MockSendAlgorithm) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
OnPacketLost mocks base method
func (*MockSendAlgorithm) OnPacketSent ¶
func (m *MockSendAlgorithm) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, arg3 protocol.ByteCount, arg4 bool)
OnPacketSent mocks base method
func (*MockSendAlgorithm) OnRetransmissionTimeout ¶
func (m *MockSendAlgorithm) OnRetransmissionTimeout(arg0 bool)
OnRetransmissionTimeout mocks base method
func (*MockSendAlgorithm) SetNumEmulatedConnections ¶
func (m *MockSendAlgorithm) SetNumEmulatedConnections(arg0 int)
SetNumEmulatedConnections mocks base method
func (*MockSendAlgorithm) SetSlowStartLargeReduction ¶
func (m *MockSendAlgorithm) SetSlowStartLargeReduction(arg0 bool)
SetSlowStartLargeReduction mocks base method
func (*MockSendAlgorithm) TimeUntilSend ¶
func (m *MockSendAlgorithm) TimeUntilSend(arg0 protocol.ByteCount) time.Duration
TimeUntilSend mocks base method
type MockSendAlgorithmMockRecorder ¶
type MockSendAlgorithmMockRecorder struct {
// contains filtered or unexported fields
}
MockSendAlgorithmMockRecorder is the mock recorder for MockSendAlgorithm
func (*MockSendAlgorithmMockRecorder) GetCongestionWindow ¶
func (mr *MockSendAlgorithmMockRecorder) GetCongestionWindow() *gomock.Call
GetCongestionWindow indicates an expected call of GetCongestionWindow
func (*MockSendAlgorithmMockRecorder) MaybeExitSlowStart ¶
func (mr *MockSendAlgorithmMockRecorder) MaybeExitSlowStart() *gomock.Call
MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart
func (*MockSendAlgorithmMockRecorder) OnConnectionMigration ¶
func (mr *MockSendAlgorithmMockRecorder) OnConnectionMigration() *gomock.Call
OnConnectionMigration indicates an expected call of OnConnectionMigration
func (*MockSendAlgorithmMockRecorder) OnPacketAcked ¶
func (mr *MockSendAlgorithmMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
OnPacketAcked indicates an expected call of OnPacketAcked
func (*MockSendAlgorithmMockRecorder) OnPacketLost ¶
func (mr *MockSendAlgorithmMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call
OnPacketLost indicates an expected call of OnPacketLost
func (*MockSendAlgorithmMockRecorder) OnPacketSent ¶
func (mr *MockSendAlgorithmMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
OnPacketSent indicates an expected call of OnPacketSent
func (*MockSendAlgorithmMockRecorder) OnRetransmissionTimeout ¶
func (mr *MockSendAlgorithmMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call
OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout
func (*MockSendAlgorithmMockRecorder) SetNumEmulatedConnections ¶
func (mr *MockSendAlgorithmMockRecorder) SetNumEmulatedConnections(arg0 interface{}) *gomock.Call
SetNumEmulatedConnections indicates an expected call of SetNumEmulatedConnections
func (*MockSendAlgorithmMockRecorder) SetSlowStartLargeReduction ¶
func (mr *MockSendAlgorithmMockRecorder) SetSlowStartLargeReduction(arg0 interface{}) *gomock.Call
SetSlowStartLargeReduction indicates an expected call of SetSlowStartLargeReduction
func (*MockSendAlgorithmMockRecorder) TimeUntilSend ¶
func (mr *MockSendAlgorithmMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call
TimeUntilSend indicates an expected call of TimeUntilSend
type MockStreamFlowController ¶
type MockStreamFlowController struct {
// contains filtered or unexported fields
}
MockStreamFlowController is a mock of StreamFlowController interface
func NewMockStreamFlowController ¶
func NewMockStreamFlowController(ctrl *gomock.Controller) *MockStreamFlowController
NewMockStreamFlowController creates a new mock instance
func (*MockStreamFlowController) AddBytesRead ¶
func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method
func (*MockStreamFlowController) AddBytesSent ¶
func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method
func (*MockStreamFlowController) EXPECT ¶
func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStreamFlowController) GetWindowUpdate ¶
func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method
func (*MockStreamFlowController) IsNewlyBlocked ¶
func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method
func (*MockStreamFlowController) MaybeQueueWindowUpdate ¶
func (m *MockStreamFlowController) MaybeQueueWindowUpdate()
MaybeQueueWindowUpdate mocks base method
func (*MockStreamFlowController) SendWindowSize ¶
func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
SendWindowSize mocks base method
func (*MockStreamFlowController) UpdateHighestReceived ¶
func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
UpdateHighestReceived mocks base method
func (*MockStreamFlowController) UpdateSendWindow ¶
func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
UpdateSendWindow mocks base method
type MockStreamFlowControllerMockRecorder ¶
type MockStreamFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController
func (*MockStreamFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
AddBytesRead indicates an expected call of AddBytesRead
func (*MockStreamFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
AddBytesSent indicates an expected call of AddBytesSent
func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
GetWindowUpdate indicates an expected call of GetWindowUpdate
func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked ¶
func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
IsNewlyBlocked indicates an expected call of IsNewlyBlocked
func (*MockStreamFlowControllerMockRecorder) MaybeQueueWindowUpdate ¶
func (mr *MockStreamFlowControllerMockRecorder) MaybeQueueWindowUpdate() *gomock.Call
MaybeQueueWindowUpdate indicates an expected call of MaybeQueueWindowUpdate
func (*MockStreamFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *gomock.Call
SendWindowSize indicates an expected call of SendWindowSize
func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
UpdateHighestReceived indicates an expected call of UpdateHighestReceived
func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
UpdateSendWindow indicates an expected call of UpdateSendWindow
type MockTLSExtensionHandler ¶
type MockTLSExtensionHandler struct {
// contains filtered or unexported fields
}
MockTLSExtensionHandler is a mock of TLSExtensionHandler interface
func NewMockTLSExtensionHandler ¶
func NewMockTLSExtensionHandler(ctrl *gomock.Controller) *MockTLSExtensionHandler
NewMockTLSExtensionHandler creates a new mock instance
func (*MockTLSExtensionHandler) EXPECT ¶
func (m *MockTLSExtensionHandler) EXPECT() *MockTLSExtensionHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTLSExtensionHandler) GetPeerParams ¶
func (m *MockTLSExtensionHandler) GetPeerParams() <-chan handshake.TransportParameters
GetPeerParams mocks base method
func (*MockTLSExtensionHandler) Receive ¶
func (m *MockTLSExtensionHandler) Receive(arg0 mint.HandshakeType, arg1 *mint.ExtensionList) error
Receive mocks base method
func (*MockTLSExtensionHandler) Send ¶
func (m *MockTLSExtensionHandler) Send(arg0 mint.HandshakeType, arg1 *mint.ExtensionList) error
Send mocks base method
type MockTLSExtensionHandlerMockRecorder ¶
type MockTLSExtensionHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockTLSExtensionHandlerMockRecorder is the mock recorder for MockTLSExtensionHandler
func (*MockTLSExtensionHandlerMockRecorder) GetPeerParams ¶
func (mr *MockTLSExtensionHandlerMockRecorder) GetPeerParams() *gomock.Call
GetPeerParams indicates an expected call of GetPeerParams
func (*MockTLSExtensionHandlerMockRecorder) Receive ¶
func (mr *MockTLSExtensionHandlerMockRecorder) Receive(arg0, arg1 interface{}) *gomock.Call
Receive indicates an expected call of Receive
func (*MockTLSExtensionHandlerMockRecorder) Send ¶
func (mr *MockTLSExtensionHandlerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mockackhandler is a generated GoMock package.
|
Package mockackhandler is a generated GoMock package. |
Package mockcrypto is a generated GoMock package.
|
Package mockcrypto is a generated GoMock package. |