vdr_core

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Verifiable Data Registry Core

Introduction

Verifiable Data Registry provided an interface for storing Decentralised Identifiers (DID documents). The library uses plugin-based architecture, using it as a dependency requires additional steps.

Building

Here is the README.md describing the specifics of build process for services, where the dependency is used.

Usage

The core module defines an interface VerifiableDataRegistry that defines methods implemented in each plugin. The core module loads a plugin from specified location and exports the VerifiableDataRegistry implementation.

Configuration

Following environment variables are required:

  1. PLUGINS_LOCATION - path to folder that includes compiled plugin files
  2. VDR_TYPE - name of compiled plugin file

Documentation

Index

Constants

View Source
const (
	VdrTypeKey             = "VDR_TYPE"
	PluginsLocationKey     = "PLUGINS_LOCATION"
	PluginSymbolKey        = "Plugin"
	DefaultPluginsLocation = "etc/plugins/"
)

Variables

This section is empty.

Functions

func VerifiableDataRegistryInitializer

func VerifiableDataRegistryInitializer() types.VerifiableDataRegistry

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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