mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-10 08:43:09 +00:00
fix NewPubsub docstring
This commit is contained in:
parent
1dc8405449
commit
1b4fbb865d
@ -133,7 +133,7 @@ type RPC struct {
|
||||
|
||||
type Option func(*PubSub) error
|
||||
|
||||
// NewFloodSub returns a new PubSub management object
|
||||
// NewPubSub returns a new PubSub management object
|
||||
func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option) (*PubSub, error) {
|
||||
ps := &PubSub{
|
||||
host: h,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user