package
1.1.5
Repository: https://github.com/textileio/go-threads.git
Documentation: pkg.go.dev

# Functions

NewConnector creates bidirectional connection between an app and a thread.
NewLocalEventsBus returns a new bus for local event.

# Variables

ErrInvalidNetRecordBody indicates the app determined the record body should not be accepted.
ErrThreadInUse indicates an operation could not be completed because the thread is bound to an app.

# Structs

Connector connects an app to a thread.
LocalEvent wraps an IPLD node and auth for delivery to a thread.
LocalEventListener notifies about new locally generated events.
LocalEventsBus wraps a broadcaster for local events.

# Interfaces

App provides a bidirectional hook for thread-based apps.
Net adds the ability to connect an app to a thread.

# Type aliases

Connection receives new thread records, which are pumped to the app.