type github.com/libp2p/go-libp2p/core/connmgr.ConnManager (interface)
Method Implmentations
CheckLimit(l GetConnLimiter) error
NullConnMgr.CheckLimit
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.CheckLimit
GetTagInfo(p peer.ID) *TagInfo
NullConnMgr.GetTagInfo
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.GetTagInfo
IsProtected(id peer.ID, tag string) (protected bool)
NullConnMgr.IsProtected
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.IsProtected
Notifee() network.Notifiee
NullConnMgr.Notifee
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.Notifee
Protect(id peer.ID, tag string)
NullConnMgr.Protect
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.Protect
TagPeer(peer.ID, string, int)
NullConnMgr.TagPeer
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.TagPeer
TrimOpenConns(ctx context.Context)
NullConnMgr.TrimOpenConns
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.TrimOpenConns
Unprotect(id peer.ID, tag string) (protected bool)
NullConnMgr.Unprotect
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.Unprotect
UntagPeer(p peer.ID, tag string)
NullConnMgr.UntagPeer
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.UntagPeer
UpsertTag(p peer.ID, tag string, upsert func(int) int)
NullConnMgr.UpsertTag
*github.com/libp2p/go-libp2p/p2p/net/connmgr.BasicConnMgr.UpsertTag
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |