Documentation ¶
Index ¶
- type MockFlowControlManager
- func (_m *MockFlowControlManager) AddBytesRead(_param0 protocol.StreamID, _param1 protocol.ByteCount) error
- func (_m *MockFlowControlManager) AddBytesSent(_param0 protocol.StreamID, _param1 protocol.ByteCount) error
- func (_m *MockFlowControlManager) EXPECT() *_MockFlowControlManagerRecorder
- func (_m *MockFlowControlManager) GetReceiveWindow(_param0 protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) GetWindowUpdates() []flowcontrol.WindowUpdate
- func (_m *MockFlowControlManager) NewStream(_param0 protocol.StreamID, _param1 bool)
- func (_m *MockFlowControlManager) RemainingConnectionWindowSize() protocol.ByteCount
- func (_m *MockFlowControlManager) RemoveStream(_param0 protocol.StreamID)
- func (_m *MockFlowControlManager) ResetStream(_param0 protocol.StreamID, _param1 protocol.ByteCount) error
- func (_m *MockFlowControlManager) SendWindowSize(_param0 protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) UpdateHighestReceived(_param0 protocol.StreamID, _param1 protocol.ByteCount) error
- func (_m *MockFlowControlManager) UpdateWindow(_param0 protocol.StreamID, _param1 protocol.ByteCount) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlowControlManager ¶
type MockFlowControlManager struct {
// contains filtered or unexported fields
}
Mock of FlowControlManager interface
func NewMockFlowControlManager ¶
func NewMockFlowControlManager(ctrl *gomock.Controller) *MockFlowControlManager
func (*MockFlowControlManager) AddBytesRead ¶
func (*MockFlowControlManager) AddBytesSent ¶
func (*MockFlowControlManager) EXPECT ¶
func (_m *MockFlowControlManager) EXPECT() *_MockFlowControlManagerRecorder
func (*MockFlowControlManager) GetReceiveWindow ¶
func (*MockFlowControlManager) GetWindowUpdates ¶
func (_m *MockFlowControlManager) GetWindowUpdates() []flowcontrol.WindowUpdate
func (*MockFlowControlManager) NewStream ¶
func (_m *MockFlowControlManager) NewStream(_param0 protocol.StreamID, _param1 bool)
func (*MockFlowControlManager) RemainingConnectionWindowSize ¶
func (_m *MockFlowControlManager) RemainingConnectionWindowSize() protocol.ByteCount
func (*MockFlowControlManager) RemoveStream ¶
func (_m *MockFlowControlManager) RemoveStream(_param0 protocol.StreamID)
func (*MockFlowControlManager) ResetStream ¶
func (*MockFlowControlManager) SendWindowSize ¶
func (*MockFlowControlManager) UpdateHighestReceived ¶
func (*MockFlowControlManager) UpdateWindow ¶
Click to show internal directories.
Click to hide internal directories.