Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SrvApi ¶
type SrvApi interface {
Init(gitUrl string) error
All() ([]*data.Record, error)
Olds(time time.Time) ([]*data.Record, error)
Groups() ([]string, error)
Titles() ([]string, error)
Filter(groupLike, titleLike string) ([]*data.Record, error)
Delete(group, title string) error
Put(group, title, password, describe string) error
Get(title string) (*data.Record, error)
History(title string) ([]*data.Record, error)
Load() error
Save() error
Empty() (bool, error)
SetStoreCrypto(crypto util.CryptoApi)
SetRecordKey(key []byte)
ResetKey(newKey []byte) error
}
Click to show internal directories.
Click to hide internal directories.