boltons

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2015 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 DB

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

func Open

func Open(path string, mode os.FileMode, options *bolt.Options) (*DB, error)

func (*DB) All

func (db *DB) All(s interface{}) error

func (*DB) Close

func (db *DB) Close()

func (*DB) Delete

func (db *DB) Delete(s interface{}) error

func (*DB) Exists

func (db *DB) Exists(s interface{}) (bool, error)

func (*DB) Get

func (db *DB) Get(s interface{}) error

func (*DB) Keys

func (db *DB) Keys(s interface{}) ([]string, error)

func (*DB) Save

func (db *DB) Save(s interface{}) error

func (*DB) Update

func (db *DB) Update(s interface{}, changes map[string]interface{}) error

Jump to

Keyboard shortcuts

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