Xe
oleg - GoDoc

Toggle navigation GoDoc Home Index About oleg: github.com/Xe/oleg / go Index | Files import "github.com/Xe/oleg/go" ¶ Variables type Database func Purchase(host, port string) *Database func (d *Database) Jar(table, key, value string) error func (d *Database) Scoop(table, key string) (err error) func (d *Database) Unjar(table, key string) (value string, err error) Package Files ¶ oleg.go ¶ var ( // Key not found in OlegDB ErrNoSuchKey = errors . New ("No such key") ) Our errors Database ¶ type Database struct { // contains filtered or unexported fields } Database is an OlegDB reference. This is good for data storage I think. Purchase ¶ func Purchase(host, port string ) * Database Purchase creates a new Database by getting it from the store. The hostname and port arguments are strings because laziness is next to godliness. Jar ¶ func (d * Dat...

Linked on 2015-03-09 17:50:53 | Similar Links