storage

package
v3.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const DefaultBackend = RBFBackend

DefaultBackend is set here. pilosa/server/config.go references it to set the default for pilosa server exeutable.

View Source
const (
	RBFBackend string = "rbf"
)

public strings that pilosa/server/config.go can reference

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Backend string `toml:"backend"`

	// Set before calling db.Open()
	FsyncEnabled bool `toml:"fsync"`
}

Config represents configuration which applies to multiple storage engines.

func NewDefaultConfig

func NewDefaultConfig() *Config

NewDefaultConfig returns a new Config with default values.

Jump to

Keyboard shortcuts

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