mockprotocol

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockprotocol is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

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

MockHandler is a mock of Handler interface

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) Accept

func (m *MockHandler) Accept(arg0 context.Context, arg1 go_libp2p_peer.ID) error

Accept mocks base method

func (*MockHandler) AddNode

func (m *MockHandler) AddNode(arg0 context.Context, arg1 go_libp2p_peer.ID, arg2 go_multiaddr.Multiaddr, arg3 []byte) error

AddNode mocks base method

func (*MockHandler) Close

func (m *MockHandler) Close(arg0 context.Context)

Close mocks base method

func (*MockHandler) CompleteBootstrap

func (m *MockHandler) CompleteBootstrap(arg0 context.Context) error

CompleteBootstrap mocks base method

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) Handshake

func (m *MockHandler) Handshake(arg0 context.Context) error

Handshake mocks base method

func (*MockHandler) Reject

func (m *MockHandler) Reject(arg0 context.Context, arg1 go_libp2p_peer.ID) error

Reject mocks base method

func (*MockHandler) RemoveNode

func (m *MockHandler) RemoveNode(arg0 context.Context, arg1 go_libp2p_peer.ID) error

RemoveNode mocks base method

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) Accept

func (mr *MockHandlerMockRecorder) Accept(arg0, arg1 interface{}) *gomock.Call

Accept indicates an expected call of Accept

func (*MockHandlerMockRecorder) AddNode

func (mr *MockHandlerMockRecorder) AddNode(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddNode indicates an expected call of AddNode

func (*MockHandlerMockRecorder) Close

func (mr *MockHandlerMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockHandlerMockRecorder) CompleteBootstrap

func (mr *MockHandlerMockRecorder) CompleteBootstrap(arg0 interface{}) *gomock.Call

CompleteBootstrap indicates an expected call of CompleteBootstrap

func (*MockHandlerMockRecorder) Handshake

func (mr *MockHandlerMockRecorder) Handshake(arg0 interface{}) *gomock.Call

Handshake indicates an expected call of Handshake

func (*MockHandlerMockRecorder) Reject

func (mr *MockHandlerMockRecorder) Reject(arg0, arg1 interface{}) *gomock.Call

Reject indicates an expected call of Reject

func (*MockHandlerMockRecorder) RemoveNode

func (mr *MockHandlerMockRecorder) RemoveNode(arg0, arg1 interface{}) *gomock.Call

RemoveNode indicates an expected call of RemoveNode

Jump to

Keyboard shortcuts

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