pebble

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 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 struct {
	DirName string
	pebble.Options
}

func (*Config) Build

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

func (*Config) Init added in v1.4.0

func (c *Config) Init()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

type DB

type DB struct {
	*pebble.DB
	Conf Config
}

func (*DB) Close

func (p *DB) Close() error

func (*DB) Config

func (p *DB) Config() any

func (*DB) SetEntity

func (p *DB) SetEntity(entity interface{})

Jump to

Keyboard shortcuts

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