local

package
v0.1.0-beta-3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiskDriverName   = "disk"
	MemoryDriverName = "memory"
)

Variables

This section is empty.

Functions

func LockKey

func LockKey(path string, offset int64) string

func NewStorageDriver

func NewStorageDriver(cfg *storedriver.Config) (storedriver.Driver, error)

NewStorageDriver performs initialization for disk Storage and return a storage Driver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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