Documentation ¶
Index ¶
- func CheckToken(token string) (walletID uint64, blocked bool, balance float64, err error)
- func DetectFee(token string, to string, amount float64) (fee float64, err error)
- func DetectProvider(token string, to string) (id int, err error)
- func Fee(token string, providerID int, to string, amount float64) (fee float64, err error)
- func GetLastTxns(token string, walletID uint64) (res []models.Txn, err error)
- func GetStat(token string, walletID uint64) (incoming, outgoing float64, err error)
- func Transfer(token, to string, amount float64, comments ...string) (transactionID uint, err error)
- func TransferFromGroup(groupID, userID uint, to string, restAmount float64) (errs []error)
- func TransferWithProvider(providerID int, token, to string, amount float64, comments ...string) (transactionID uint, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckToken ¶
CheckToken simple token checker
func DetectProvider ¶ added in v0.0.2
DetectProvider detect provider
func GetLastTxns ¶
GetLastTxns call qiwi api and returns last 50 txns
func TransferFromGroup ¶ added in v0.0.2
TransferFromGroup transfer from group wallets to target
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.