db

package
v0.0.0-...-4257d44 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(name string) (models.Snippets, error)

func Delete

func Delete(name, key string) error

func Find

func Find(name, key string) (*models.SnippetInfo, error)

func FindAndUpdate

func FindAndUpdate(name, key string, sharedTo *models.ShareInfo) (*models.SnippetInfo, error)

func Init

func Init(path string) error

func LookupinUser

func LookupinUser(name string) (*models.User, error)

func Update

func Update(m models.Model) error

update updates key value pair in a bucket

func UserExists

func UserExists(u string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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