storage

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const EthereumSecretsPath = "ethereum"
View Source
const ZkSnarksSecretsPath = "zk-snarks"

Variables

This section is empty.

Functions

func ComputeEthereumStorageKey

func ComputeEthereumStorageKey(accountID, namespace string) string

func ComputeZksStorageKey

func ComputeZksStorageKey(accountID, namespace string) string

func GetEthereumNamespaces

func GetEthereumNamespaces(ctx context.Context, storage logical.Storage, namespace string, namespaceSet map[string]bool) error

func GetJSON

func GetJSON(ctx context.Context, storage logical.Storage, key string, account interface{}) error

func GetZkSnarksNamespaces

func GetZkSnarksNamespaces(ctx context.Context, storage logical.Storage, namespace string, namespaceSet map[string]bool) error

func StoreJSON

func StoreJSON(ctx context.Context, storage logical.Storage, key string, data interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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