shared

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: Apache-2.0, MIT Imports: 7 Imported by: 48

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllSelector added in v0.2.1

func AllSelector() ipld.Node

entire DAG selector

func MoveKey added in v0.7.0

func MoveKey(ds datastore.Datastore, old string, new string) error

MoveKey moves a key in a data store

func ReadyDispatcher added in v0.7.0

func ReadyDispatcher(evt pubsub.Event, fn pubsub.SubscriberFn) error

ReadyDispatcher is just an pubsub dispatcher where the callback is ReadyFunc

Types

type ReadyFunc added in v0.7.0

type ReadyFunc func(error)

ReadyFunc is function that gets called once when an event is ready

type TipSetToken

type TipSetToken []byte

TipSetToken is the implementation-nonspecific identity for a tipset.

type Unsubscribe

type Unsubscribe func()

Unsubscribe is a function that gets called to unsubscribe from (storage|retrieval)market events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL