vault

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBProvider added in v0.4.0

type DBProvider[T any] interface {
	DBByTMSId(id token.TMSID) (T, error)
}

type Provider added in v0.2.0

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

func NewVaultProvider

func NewVaultProvider(tokenDBProvider tokens.DBProvider, ttxDBProvider ttx.DBProvider, auditDBProvider auditor.AuditDBProvider) *Provider

func (*Provider) Vault added in v0.2.0

func (v *Provider) Vault(network string, channel string, namespace string) (driver.TokenVault, error)

type ProviderAdaptor added in v0.4.0

type ProviderAdaptor struct {
	Provider *network.Provider
}

func (*ProviderAdaptor) Vault added in v0.4.0

func (p *ProviderAdaptor) Vault(networkID string, channel string, namespace string) (driver.Vault, error)

type PublicParamsProvider added in v0.2.0

type PublicParamsProvider struct {
	Provider *network.Provider
}

func (*PublicParamsProvider) PublicParams added in v0.2.0

func (p *PublicParamsProvider) PublicParams(networkID string, channel string, namespace string) ([]byte, error)

type Vault added in v0.4.0

type Vault struct {
	*network.TokenVault
}

func (*Vault) CertificationStorage added in v0.4.0

func (v *Vault) CertificationStorage() driver.CertificationStorage

func (*Vault) QueryEngine added in v0.4.0

func (v *Vault) QueryEngine() driver.QueryEngine

Jump to

Keyboard shortcuts

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