storage

package
v0.0.0-...-b38e3c6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimplePartition

type SimplePartition struct {
	DB *leveldb.DB
}

func (*SimplePartition) Get

func (s *SimplePartition) Get(id []byte, dest io.Writer) error

func (*SimplePartition) GetFreeSpace

func (s *SimplePartition) GetFreeSpace() int64

func (*SimplePartition) Put

func (s *SimplePartition) Put(id, value []byte) error

type SimplePartitionFactory

type SimplePartitionFactory struct{}

func (SimplePartitionFactory) OpenKVP

func (s SimplePartitionFactory) OpenKVP(path string) (KeyValuePartition, error)

Jump to

Keyboard shortcuts

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