Source File
null.go
Belonging Package
github.com/libp2p/go-libp2p/core/connmgr
package connmgrimport ()// NullConnMgr is a ConnMgr that provides no functionality.type NullConnMgr struct{}var _ ConnManager = (*NullConnMgr)(nil)func (NullConnMgr) (peer.ID, string, int) {}func (NullConnMgr) (peer.ID, string) {}func (NullConnMgr) (peer.ID, string, func(int) int) {}func (NullConnMgr) (peer.ID) *TagInfo { return &TagInfo{} }func (NullConnMgr) ( context.Context) {}func (NullConnMgr) () network.Notifiee { return network.GlobalNoopNotifiee }func (NullConnMgr) (peer.ID, string) {}func (NullConnMgr) (peer.ID, string) bool { return false }func (NullConnMgr) (peer.ID, string) bool { return false }func (NullConnMgr) ( GetConnLimiter) error { return nil }func (NullConnMgr) () error { return nil }
![]() |
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. |