internal

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncState

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

MockSyncState is a mock of SyncState interface

func NewMockSyncState

func NewMockSyncState(ctrl *gomock.Controller) *MockSyncState

NewMockSyncState creates a new mock instance

func (*MockSyncState) Add

func (m *MockSyncState) Add(newState state.State) error

Add mocks base method

func (*MockSyncState) All

func (m *MockSyncState) All(epoch int64) ([]state.State, error)

All mocks base method

func (*MockSyncState) EXPECT

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

func (*MockSyncState) Map

func (m *MockSyncState) Map(epoch int64, process func(state.State) state.State) error

Map mocks base method

func (*MockSyncState) Remove

func (m *MockSyncState) Remove(id state.MessageID, peer state.PeerID) error

Remove mocks base method

type MockSyncStateMockRecorder

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

MockSyncStateMockRecorder is the mock recorder for MockSyncState

func (*MockSyncStateMockRecorder) Add

func (mr *MockSyncStateMockRecorder) Add(newState interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockSyncStateMockRecorder) All

func (mr *MockSyncStateMockRecorder) All(epoch interface{}) *gomock.Call

All indicates an expected call of All

func (*MockSyncStateMockRecorder) Map

func (mr *MockSyncStateMockRecorder) Map(epoch, process interface{}) *gomock.Call

Map indicates an expected call of Map

func (*MockSyncStateMockRecorder) Remove

func (mr *MockSyncStateMockRecorder) Remove(id, peer interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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