rocksdb

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 1 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
	Capacity        uint64
	CreateIfMissing bool
	ErrorIfExists   bool
	ParanoidChecks  bool
	Paths           []string
	TargetSizes     []uint64
}

func (*Config) AfterInject added in v0.1.5

func (c *Config) AfterInject()

func (*Config) BeforeInject added in v0.0.33

func (c *Config) BeforeInject()

func (*Config) Build

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

func (*Config) Init

func (c *Config) Init() *Config

type DB

type DB struct {
	*grocksdb.DB
	Conf Config
}

func (*DB) Close

func (m *DB) Close() error

func (*DB) Config

func (m *DB) Config() any

func (*DB) Init

func (m *DB) Init() error

Jump to

Keyboard shortcuts

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