bbolt

package
v0.7.14 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path string
	Mode os.FileMode
	bbolt.Options
}

func (*Config) AfterInject

func (c *Config) AfterInject()

func (*Config) BeforeInject

func (c *Config) BeforeInject()

func (*Config) Build

func (c *Config) Build() (*bbolt.DB, error)

type DB

type DB struct {
	*bbolt.DB
	Conf Config
}

func (*DB) Close

func (c *DB) Close() error

func (*DB) Config

func (c *DB) Config() any

func (*DB) Init

func (c *DB) Init() error

Jump to

Keyboard shortcuts

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