bolt

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const WalletsBucket = "wallets"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DataSource string `yaml:"path" env:"KMS_DB_DATA_SOURCE" env-description:"KMS vault data source. Example: '/opt/oxygen/kms.db'"`
}

type Connection

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

func Open

func Open(cfg Config, logger *zerolog.Logger) (*Connection, error)

func (*Connection) DB

func (c *Connection) DB() *bbolt.DB

func (*Connection) LoadBuckets

func (c *Connection) LoadBuckets() error

Jump to

Keyboard shortcuts

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