Versions in this module Expand all Collapse all v0 v0.0.1 Dec 28, 2018 Changes in this version + type DB struct + func (db *DB) AddAccount(acc bw.Account) error + func (db *DB) AddFolder(name string, owner string) (bw.Folder, error) + func (db *DB) Close() + func (db *DB) DeleteCipher(owner string, ciphID string) error + func (db *DB) GetAccount(username string, refreshtoken string) (bw.Account, error) + func (db *DB) GetCipher(owner string, ciphID string) (bw.Cipher, error) + func (db *DB) GetCiphers(owner string) ([]bw.Cipher, error) + func (db *DB) GetFolders(owner string) ([]bw.Folder, error) + func (db *DB) Init() error + func (db *DB) NewCipher(ciph bw.Cipher, owner string) (bw.Cipher, error) + func (db *DB) Open() error + func (db *DB) SetDir(d string) + func (db *DB) Update2FAsecret(secret string, email string) error + func (db *DB) UpdateAccountInfo(acc bw.Account) error + func (db *DB) UpdateCipher(newData bw.Cipher, owner string, ciphID string) error + func (db *DB) UpdateFolder(newFolder bw.Folder, owner string) error