package
0.2.1
Repository: https://github.com/drand/go-clients.git
Documentation: pkg.go.dev

# Functions

NewPubsub constructs a basic libp2p pubsub module for use with the drand client.
NewWithPubsub creates a gossip randomness client.
PubSubTopic generates a drand pubsub topic from a chain hash.
WithPubsub provides an option for integrating pubsub notification into a drand client.

# Variables

WatchBufferSize controls how many incoming messages can be in-flight until they start to be dropped by the library when using Client.Watch.

# Structs

Client is a concrete pubsub client implementation.

# Type aliases

UnsubFunc is a cancel function for pubsub subscription.