namespace

package
v1.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NamespacePredefined is the list of pre-defined namespaces
	NamespacePredefined = "predefined"
)

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(withDefaults bool)

Types

type Manager

type Manager interface {
	// Init initializes the manager
	Init(ctx context.Context, di database.Plugin) error
	// GetDefaultKey retrieves the default blockchain key for this namespace
	GetDefaultKey(ns string) string
	// GetMultipartyConfig retrieves a config string from the namespace's multiparty config or the (deprecated) root config
	GetMultipartyConfig(ns string, key config.RootKey) string
}

Jump to

Keyboard shortcuts

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