stores

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cnfg *v1.AccountConfig, opts ...Option) (wallet.Store, error)

NewWalletStore returns a new WalletStore

Types

type Option

type Option func(*storeConfig)

Option is a function that configures the store

func SetFileStore

func SetFileStore(path string) Option

SetFileStore sets the store to use a file store

func SetIPFSStore

func SetIPFSStore(ipfsNode common.IPFSNode) Option

SetIPFSStore sets the store to use an IPFS store

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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