Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account interface { Login(id, password string, options map[string]interface{}) error // Internal use only. see: bankpkg.Login(...) Logout() error AccountInfo() *BankAccount TotalBalance() (int64, error) LastLogin() (time.Time, error) Recent() ([]*Transaction, error) History(from, to time.Time) ([]*Transaction, error) NewTransferToRegisteredAccount(targetName string, amount int64) (TransferState, error) CommitTransfer(tr TransferState, passwd string) (string, error) }
type BankAccount ¶
type Transaction ¶
type TransferState ¶
Click to show internal directories.
Click to hide internal directories.