# Functions
No description provided by the author
ChangeMasterPassword updates the user with the new master password.
CreateBankAccount creates a new bank account and saves it to the store.
CreateCreditCard creates a new credit card and saves it to the store.
CreateEmail creates a new bank account and saves it to the store.
CreateHash ...
CreateLogin creates a login and saves it to the store.
CreateLogins is needed for import.
CreateNote creates a new note and saves it to the store.
CreateServer creates a server and saves it to the store.
CreateSubscription creates a subscription and saves it to the store.
CreateToken ...
CreateUser creates a user and saves it to the store.
Decrypt ...
DecryptFile ...
DecryptJSON ...
DecryptModel decrypts struct pointer according to struct tags.
DecryptPayload ...
Encrypt ..
EncryptFile ...
EncryptJSON ...
EncryptModel encrypts struct pointer according to struct tags.
FallbackInsecureKey fallback method for sercure key.
FindAllBankAccounts finds all logins.
FindAllCreditCards finds all logins.
FindAllEmails finds all logins.
FindAllLogins finds all logins.
FindAllNotes finds all logins.
FindAllServers finds all logins.
FindIndex ...
GenerateSchema creates user schema and tables.
GenerateSecureKey generates a secure key width a given length.
GetBackupFiles retrieves backup files.
GetMD5Hash ...
MigrateSystemTables runs auto migration for the system models (Token and User), will only add missing fields won't delete/change current data in the store.
MigrateUserTables runs auto migration for user models in user schema, will only add missing fields won't delete/change current data in the store.
NewBcrypt ...
PayloadValidator ...
No description provided by the author
No description provided by the author
RandomMD5Hash returns random md5 hash for unique conifrim links.
SendMail is an helper to send mail all over the project.
TokenValid ...
UpdateBankAccount updates the account with the dto and applies the changes in the store.
UpdateCreditCard updates the credit card with the dto and applies the changes in the store.
UpdateEmail updates the account with the dto and applies the changes in the store.
UpdateLogin updates the login with the dto and applies the changes in the store.
UpdateNote updates the note with the dto and applies the changes in the store.
UpdateServer updates the server with the dto and applies the changes in the store.
No description provided by the author
UpdateUser updates the user with the dto and applies the changes in the store.
# Variables
ErrCreateSchema represents message for creating schema.
ErrExpiredToken represents message for expired token.
ErrGenerateSchema represents message for generating schema.
ErrUnauthorized represents message for unauthorized.