mockpeerstore

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockpeerstore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetPeers

func (m *MockStore) GetPeers(arg0 core.InfoHash, arg1 int) ([]*core.PeerInfo, error)

GetPeers mocks base method

func (*MockStore) UpdatePeer

func (m *MockStore) UpdatePeer(arg0 core.InfoHash, arg1 *core.PeerInfo) error

UpdatePeer mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) GetPeers

func (mr *MockStoreMockRecorder) GetPeers(arg0, arg1 interface{}) *gomock.Call

GetPeers indicates an expected call of GetPeers

func (*MockStoreMockRecorder) UpdatePeer

func (mr *MockStoreMockRecorder) UpdatePeer(arg0, arg1 interface{}) *gomock.Call

UpdatePeer indicates an expected call of UpdatePeer

Jump to

Keyboard shortcuts

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