From 46b0ec92ff6e56aecac43beeeb133caae0a29a38 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 13 May 2021 12:48:06 -0700 Subject: [PATCH] doc: document standard connection manager Otherwise, it's completely undiscoverable. --- options.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/options.go b/options.go index 7440627e87..39dc227cff 100644 --- a/options.go +++ b/options.go @@ -186,6 +186,9 @@ func Identity(sk crypto.PrivKey) Option { } // ConnectionManager configures libp2p to use the given connection manager. +// +// The current "standard" connection manager lives in github.com/libp2p/go-libp2p-connmgr. See +// https://pkg.go.dev/github.com/libp2p/go-libp2p-connmgr?utm_source=godoc#NewConnManager. func ConnectionManager(connman connmgr.ConnManager) Option { return func(cfg *Config) error { if cfg.ConnManager != nil {