Documentation ¶
Index ¶
- Variables
- func AllSites(sites *[]structs.Site) error
- func AllTeams(teams *[]structs.Team) error
- func AllUsers(users *[]structs.User) error
- func DeleteTeam(t structs.Team) error
- func OpenDB(dbfile string) (*bolt.DB, error)
- func PutSite(s structs.Site) error
- func PutTeam(t structs.Team) error
- func PutUser(u structs.User) error
- func Site(key []byte, s *structs.Site) error
- func Team(key []byte, t *structs.Team) error
- func User(key []byte, u *structs.User) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound is returned when the key supplied to a Get or Delete // method does not exist in the database. ErrNotFound = errors.New("key not found") // ErrBadValue is returned when the value supplied to the Put method // is nil. ErrBadValue = errors.New("bad value") //Db holds the db Db *bolt.DB )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.