config

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package config provides the common configuration options for write cache implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Type          Type
	BBoltOptions  []writecachebbolt.Option
	BadgerOptions []writecachebadger.Option
}

Options are the configuration options for the write cache.

type Type

type Type int

Type is the write cache implementation type.

const (
	TypeBBolt Type = iota
	TypeBadger
)

Jump to

Keyboard shortcuts

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