Documentation ¶
Overview ¶
stores registers constructors for OrbitDB stores
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventNewPeer ¶
EventNewPeer An event sent when a new peer is discovered on the pubsub channel
func NewEventNewPeer ¶
func NewEventNewPeer(p p2pcore.PeerID) *EventNewPeer
NewEventNewPeer Creates a new EventNewPeer event
type EventReady ¶
EventReady An event sent when the store is ready
func NewEventReady ¶
func NewEventReady(addr address.Address, heads []ipfslog.Entry) *EventReady
NewEventReady Creates a new EventReady event
type EventReplicate ¶ added in v1.3.0
func NewEventReplicate ¶ added in v1.3.0
func NewEventReplicate(addr address.Address, c cid.Cid) *EventReplicate
type EventReplicateProgress ¶
type EventReplicateProgress struct { Address address.Address Hash cid.Cid Entry ipfslog.Entry ReplicationStatus replicator.ReplicationInfo }
EventReplicateProgress An event containing the current replication progress.
func NewEventReplicateProgress ¶
func NewEventReplicateProgress(addr address.Address, h cid.Cid, e ipfslog.Entry, replicationStatus replicator.ReplicationInfo) *EventReplicateProgress
NewEventReplicateProgress Creates a new EventReplicateProgress event
type EventReplicated ¶
EventReplicated An event sent when data has been replicated
func NewEventReplicated ¶
func NewEventReplicated(addr address.Address, logLength int) *EventReplicated
NewEventReplicated Creates a new EventReplicated event
type EventWrite ¶
EventWrite An event sent when something has been written
func NewEventWrite ¶
NewEventWrite Creates a new EventWrite event
Directories ¶
Path | Synopsis |
---|---|
basestore defines a set of operations common to the different store types
|
basestore defines a set of operations common to the different store types |
documentstore a document store for OrbitDB
|
documentstore a document store for OrbitDB |
eventlogstore an event log store for OrbitDB
|
eventlogstore an event log store for OrbitDB |
kvstore a key value store for OrbitDB
|
kvstore a key value store for OrbitDB |
operation a serializable operation that can be appended to IPFS log
|
operation a serializable operation that can be appended to IPFS log |
replicator is a package managing the replication of data among peers replicator the replication logic for an OrbitDB store
|
replicator is a package managing the replication of data among peers replicator the replication logic for an OrbitDB store |