Documentation ¶
Index ¶
- Variables
- func DeleteAccount(account *models.Account)
- func GetAccountByID(accountID uint) *models.Account
- func QueryRemainingTransfer(account *models.Account) (remaining float64, err error)
- func QueryRemainingTransferWithAccountID(accountID uint) (remaining float64, err error)
- func Sign(account *models.Account) (got uint, err error)
- func SignWithAccountID(accountID uint) (got uint, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSigned = errors.New("the account has been signed today") ErrNoSuchAccount = errors.New("no such account") ErrInsufficientCookie = errors.New("insufficient cookie") ErrWrongAccountEmailOrPassword = errors.New("wrong account email or password") ErrInvalidCookie = errors.New("invalid cookie") ErrLoginFailed = errors.New("login failed") ErrUnknown = errors.New("unknown error") )
Functions ¶
func DeleteAccount ¶
func GetAccountByID ¶
func QueryRemainingTransfer ¶
func SignWithAccountID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.