Documentation
¶
Index ¶
- func CreateDB(ctx context.Context, privkey string, pubkey string) error
- func InitIPFSApi(ctx context.Context, privkey string, pubkey string) (iface.CoreAPI, func(), error)
- func OpenDB(ctx context.Context, privkey string, pubkey string) (orbitdb.OrbitDB, func(), error)
- func OpenDocStore(ctx context.Context, db orbitdb.OrbitDB, name string) (orbitdb.DocumentStore, error)
- type DataStores
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitIPFSApi ¶
func OpenDocStore ¶
Types ¶
type DataStores ¶
type DataStores struct { DB orbitdb.OrbitDB Reports orbitdb.DocumentStore }
Click to show internal directories.
Click to hide internal directories.