Documentation ¶
Overview ¶
Package nodelist is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeList ¶
type MockNodeList struct {
// contains filtered or unexported fields
}
MockNodeList is a mock of NodeList interface
func NewMockNodeList ¶
func NewMockNodeList(ctrl *gomock.Controller) *MockNodeList
NewMockNodeList creates a new mock instance
func (*MockNodeList) Configure ¶
func (m *MockNodeList) Configure(nodeID model.NodeID, address string) error
Configure mocks base method
func (*MockNodeList) EXPECT ¶
func (m *MockNodeList) EXPECT() *MockNodeListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNodeListMockRecorder ¶
type MockNodeListMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeListMockRecorder is the mock recorder for MockNodeList
func (*MockNodeListMockRecorder) Configure ¶
func (mr *MockNodeListMockRecorder) Configure(nodeID, address interface{}) *gomock.Call
Configure indicates an expected call of Configure
func (*MockNodeListMockRecorder) Start ¶
func (mr *MockNodeListMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockNodeListMockRecorder) Stop ¶
func (mr *MockNodeListMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
type NodeList ¶
type NodeList interface { // Configure configures the NodeList. Must be called before Start(). Configure(nodeID model.NodeID, address string) error Start() Stop() }
NodeList is one of the applications built on top of the Nuts network which is used for discovering new nodes.
func NewNodeList ¶
func NewNodeList(log documentlog.DocumentLog, p2pNetwork p2p.P2PNetwork) NodeList
Click to show internal directories.
Click to hide internal directories.