Documentation ¶ Index ¶ Variables func GetProviders(ctx context.Context) ([]peer.ID, error) func New(bs *blockstream.BlockStream) iexchange.SessionExchange func WithProviders(ctx context.Context, ids ...peer.ID) context.Context Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNoProviders = errors.New("blockstream: no providers") ) Functions ¶ func GetProviders ¶ func GetProviders(ctx context.Context) ([]peer.ID, error) func New ¶ func New(bs *blockstream.BlockStream) iexchange.SessionExchange func WithProviders ¶ func WithProviders(ctx context.Context, ids ...peer.ID) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files context.go exchange.go Click to show internal directories. Click to hide internal directories.