leveldb

package
v0.0.0-...-4ca9e62 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AUTOINCREMENT_KEY = []byte("_autoincrement")
)

Functions

This section is empty.

Types

type LevelDBStore

type LevelDBStore struct {
	// contains filtered or unexported fields
}

func (*LevelDBStore) Connect

func (ls *LevelDBStore) Connect(setting string) error

func (*LevelDBStore) Delete

func (ls *LevelDBStore) Delete(id int64) error

func (*LevelDBStore) Get

func (ls *LevelDBStore) Get(id int64) (*postmi.Post, error)

func (*LevelDBStore) GetSlice

func (ls *LevelDBStore) GetSlice(limit int64, offset int64) (posts []*postmi.Post, e error)

func (*LevelDBStore) Inc

func (ls *LevelDBStore) Inc() error

func (*LevelDBStore) Save

func (ls *LevelDBStore) Save(p *postmi.Post) error

Jump to

Keyboard shortcuts

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