documentstore

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Overview

documentstore a document store for OrbitDB

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultStoreOptsForMap

func DefaultStoreOptsForMap(keyField string) *iface.CreateDocumentDBOptions

func MapKeyExtractor

func MapKeyExtractor(keyField string) func(obj interface{}) (string, error)

func NewOrbitDBDocumentStore

func NewOrbitDBDocumentStore(ctx context.Context, ipfs coreapi.CoreAPI, identity *identityprovider.Identity, addr address.Address, options *iface.NewStoreOptions) (iface.Store, error)

NewOrbitDBDocumentStore Instantiates a new DocumentStore

Types

This section is empty.

Jump to

Keyboard shortcuts

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