badger

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 badger.Options

func (*Config) Build

func (c *Config) Build() *badger.DB

func (*Config) InitAfterInject

func (c *Config) InitAfterInject()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

type DB

type DB struct {
	*badger.DB
	Conf Config
}

func (*DB) Close

func (c *DB) Close() error

func (*DB) Config

func (c *DB) Config() any

func (*DB) SetEntity

func (c *DB) SetEntity()

Jump to

Keyboard shortcuts

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