diff --git a/doc.go b/doc.go index e443286..e8a5ac8 100644 --- a/doc.go +++ b/doc.go @@ -4,11 +4,12 @@ // // The main interface to the library is the PubSub object. // You can construct this object with the following constructors: -// +// +// - NewFloodSub creates an instance that uses the floodsub routing algorithm. +// +// - NewGossipSub creates an instance that uses the gossipsub routing algorithm. +// +// - NewRandomSub creates an instance that uses the randomsub routing algorithm. // // In addition, there is a generic constructor that creates a pubsub instance with // a custom PubSubRouter interface. This procedure is currently reserved for internal