storage

package
v0.0.0-...-22113b6 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

README

storage

This module is a simple wrapper for the deepdb apis to create a service that can be used to read/write from the storage provider (e.g. S3).

Documentation

Index

Constants

View Source
const (
	DefaultBloomFP             = .01
	DefaultBloomShardSizeBytes = 100 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TracePoint deepdb.Config `yaml:"tracepoint"`
}

Config is the Deep storage configuration

func (*Config) RegisterFlagsAndApplyDefaults

func (cfg *Config) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet)

RegisterFlagsAndApplyDefaults registers the flags.

type Store

Store wraps the deepdb storage layer

func NewStore

func NewStore(cfg Config, logger log.Logger) (Store, error)

NewStore creates a new Deep Store using configuration supplied.

Jump to

Keyboard shortcuts

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