Documentation ¶ Index ¶ type Store func New(path string) (Store, error) func (store *Store) DeleteObject(key string) error func (store *Store) GetObject(key string) ([]byte, error) func (store *Store) ListObjectKeys(prefix string) ([]string, error) func (store *Store) PutObject(key string, content []byte, force bool) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { *sqlx.DB } DB is a representation of the datastore func New ¶ func New(path string) (Store, error) New creates a new db with given settings func (*Store) DeleteObject ¶ func (store *Store) DeleteObject(key string) error func (*Store) GetObject ¶ func (store *Store) GetObject(key string) ([]byte, error) func (*Store) ListObjectKeys ¶ func (store *Store) ListObjectKeys(prefix string) ([]string, error) func (*Store) PutObject ¶ func (store *Store) PutObject(key string, content []byte, force bool) error Source Files ¶ View all Source files sqlite.go Click to show internal directories. Click to hide internal directories.