stores

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector(roles auth.Roles, db database.Database, vaultsService vaults.Vaults, logger log.Logger) *Connector

func (*Connector) CreateWallet

func (c *Connector) CreateWallet(ctx context.Context, name string, allowedTenants []string, userInfo *authtypes.UserInfo) error

func (*Connector) ImportWallets

func (c *Connector) ImportWallets(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) error

func (*Connector) List

func (c *Connector) List(ctx context.Context, storeType string, userInfo *authtypes.UserInfo) ([]string, error)

func (*Connector) ListAllWallets

func (c *Connector) ListAllWallets(ctx context.Context, userInfo *authtypes.UserInfo) ([]string, error)

func (*Connector) Wallet

func (c *Connector) Wallet(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) (stores.WalletStore, error)

func (*Connector) WalletByPubkey

func (c *Connector) WalletByPubkey(ctx context.Context, pubkey string, userInfo *authtypes.UserInfo) (stores.WalletStore, error)

Jump to

Keyboard shortcuts

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