package
0.4.17
Repository: https://github.com/filecoin-project/go-legs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AllowPeer sets the function that determines whether to allow or reject graphsync sessions from a peer.
NewPublisher creates a new legs publisher.
NewPublisherFromExisting instantiates go-legs publishing on an existing data transfer instance.
NewSync creates a new Sync with its own datatransfer.Manager.
NewSyncWithDT creates a new Sync with a datatransfer.Manager provided by the caller.
Topic provides an existing pubsub topic.
WithExtraData sets the extra data to include in the pubsub message.

# Variables

No description provided by the author

# Structs

Message is the payload of a gossip pubsub message.
Sync provides sync functionality for use with all datatransfer syncs.
Syncer handles a single sync with a provider.
A Voucher is used to communicate a new DAG head.
A VoucherResult responds to a voucher.

# Type aliases

No description provided by the author