examples

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

README

MetaLocker Examples

  • Using a Bidirectional Locker. Two users create a bidirectional locker and send data to each other.
  • Indexing. How to build an index and use it to traverse all records in the data wallet.
  • Sharing. How to create a dataset and then share it with another identity, preserving provenance.
  • Attachments. How to attach files to a dataset.
  • Identities. How to create identities with different characteristics.
  • Properties. How to create account properties.
  • Revisions. How to create multiple versions of a dataset.
  • Heads. How to mark alternative representations of a dataset as 'heads' (similar to source code branches).
  • Revoke Lease. How to revoke access to a dataset.

Documentation

Index

Constants

View Source
const DemoIndexStoreID = "did:piprate:B7hqrwxrCnsWqtBnbYnhABwzktnT5oo1ZWbtby3My886"
View Source
const DemoIndexStoreName = "examples"
View Source
const DemoPort = 32000

Variables

This section is empty.

Functions

func StartDemoServer

func StartDemoServer(serverDir string, debugMode bool) (*node.MetaLockerServer, string, error)

func WithDemoIndexStore

func WithDemoIndexStore(baseDir string) remote.IndexClientSourceFn

Types

This section is empty.

Jump to

Keyboard shortcuts

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