disk

package
v0.0.0-...-6ba83c3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) storage.Storage

New return new disk storage.

Types

type Config

type Config interface {
	StateDir() string
	MaxSnapshotFiles() int
	Context() context.Context
	Logger() raftlog.Logger
}

Config define common configuration used by the New function.

Jump to

Keyboard shortcuts

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