mocks_fc

package
v0.5.1-0...-05b71ae Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (_m *MockFlowControlManager) AddBytesRead(_param0 protocol.StreamID, _param1 protocol.ByteCount) error

func (*MockFlowControlManager) AddBytesSent

func (_m *MockFlowControlManager) AddBytesSent(_param0 protocol.StreamID, _param1 protocol.ByteCount) error

func (*MockFlowControlManager) EXPECT

func (_m *MockFlowControlManager) EXPECT() *_MockFlowControlManagerRecorder

func (*MockFlowControlManager) GetReceiveWindow

func (_m *MockFlowControlManager) GetReceiveWindow(_param0 protocol.StreamID) (protocol.ByteCount, error)

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 (_m *MockFlowControlManager) ResetStream(_param0 protocol.StreamID, _param1 protocol.ByteCount) error

func (*MockFlowControlManager) SendWindowSize

func (_m *MockFlowControlManager) SendWindowSize(_param0 protocol.StreamID) (protocol.ByteCount, error)

func (*MockFlowControlManager) UpdateHighestReceived

func (_m *MockFlowControlManager) UpdateHighestReceived(_param0 protocol.StreamID, _param1 protocol.ByteCount) error

func (*MockFlowControlManager) UpdateWindow

func (_m *MockFlowControlManager) UpdateWindow(_param0 protocol.StreamID, _param1 protocol.ByteCount) (bool, error)

Jump to

Keyboard shortcuts

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