packageconnmgrimport("context""github.com/libp2p/go-libp2p-core/network""github.com/libp2p/go-libp2p-core/peer")// NullConnMgr is a ConnMgr that provides no functionality.typeNullConnMgrstruct{}var_ConnManager=(*NullConnMgr)(nil)func(_NullConnMgr)TagPeer(peer.ID,string,int){}func(_NullConnMgr)UntagPeer(peer.ID,string){}func(_NullConnMgr)UpsertTag(peer.ID,string,func(int)int){}func(_NullConnMgr)GetTagInfo(peer.ID)*TagInfo{return&TagInfo{}}func(_NullConnMgr)TrimOpenConns(ctxcontext.Context){}func(_NullConnMgr)Notifee()network.Notifiee{returnnetwork.GlobalNoopNotifiee}func(_NullConnMgr)Protect(peer.ID,string){}func(_NullConnMgr)Unprotect(peer.ID,string)bool{returnfalse}