text

package
v0.0.0-...-a17a3e0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2017 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TextBucket = store.Bucket("text")

TextBucket is the database location where text is stored.

Functions

This section is empty.

Types

type ID

type ID store.ID

ID is a reference to a text object in the database.

func MakeID

func MakeID(i store.ID, from string) ID

MakeID makes an ID from the given string by hashing with the given store.ID.

func (ID) Delete

func (i ID) Delete(tx *bolt.Tx) error

Delete implements store.Deleter on ID.

func (ID) Load

func (i ID) Load(into interface{}) func(*bolt.Tx) error

Load implements store.Loader on ID.

func (ID) Store

func (i ID) Store(what interface{}) func(*bolt.Tx) error

Store implements store.Storer on ID.

Jump to

Keyboard shortcuts

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