Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2019 v0.1.0 Jul 23, 2018 Changes in this version + type MockHost struct + func NewMockHost(ctrl *gomock.Controller) *MockHost + func (m *MockHost) Addrs() []go_multiaddr.Multiaddr + func (m *MockHost) Close() error + func (m *MockHost) ConnManager() go_libp2p_interface_connmgr.ConnManager + func (m *MockHost) Connect(arg0 context.Context, arg1 go_libp2p_peerstore.PeerInfo) error + func (m *MockHost) EXPECT() *MockHostMockRecorder + func (m *MockHost) ID() go_libp2p_peer.ID + func (m *MockHost) Mux() *go_multistream.MultistreamMuxer + func (m *MockHost) Network() go_libp2p_net.Network + func (m *MockHost) NewStream(arg0 context.Context, arg1 go_libp2p_peer.ID, arg2 ...go_libp2p_protocol.ID) (go_libp2p_net.Stream, error) + func (m *MockHost) Peerstore() go_libp2p_peerstore.Peerstore + func (m *MockHost) RemoveStreamHandler(arg0 go_libp2p_protocol.ID) + func (m *MockHost) SetNATManager(arg0 basic.NATManager) + func (m *MockHost) SetStreamHandler(arg0 go_libp2p_protocol.ID, arg1 go_libp2p_net.StreamHandler) + func (m *MockHost) SetStreamHandlerMatch(arg0 go_libp2p_protocol.ID, arg1 func(string) bool, ...) + type MockHostMockRecorder struct + func (mr *MockHostMockRecorder) Addrs() *gomock.Call + func (mr *MockHostMockRecorder) Close() *gomock.Call + func (mr *MockHostMockRecorder) ConnManager() *gomock.Call + func (mr *MockHostMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call + func (mr *MockHostMockRecorder) ID() *gomock.Call + func (mr *MockHostMockRecorder) Mux() *gomock.Call + func (mr *MockHostMockRecorder) Network() *gomock.Call + func (mr *MockHostMockRecorder) NewStream(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call + func (mr *MockHostMockRecorder) Peerstore() *gomock.Call + func (mr *MockHostMockRecorder) RemoveStreamHandler(arg0 interface{}) *gomock.Call + func (mr *MockHostMockRecorder) SetNATManager(arg0 interface{}) *gomock.Call + func (mr *MockHostMockRecorder) SetStreamHandler(arg0, arg1 interface{}) *gomock.Call + func (mr *MockHostMockRecorder) SetStreamHandlerMatch(arg0, arg1, arg2 interface{}) *gomock.Call