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
}
func NewNamespaceManager ¶
Click to show internal directories.
Click to hide internal directories.