Documentation ¶
Overview ¶
Copyright (c) 2019 Romano (Viacoin developer) Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.
Copyright (c) 2019 Romano (Viacoin developer) Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.
Index ¶
- func AddOrUpdateTelegramUser(user user.User) user.User
- func AddOrUpdateTotalTransferred(transaction bcoins.Transaction)
- func AddUser(user user.User) error
- func FindTelegramUserById(telegram_id int) (user.User, error)
- func FindTelegramUserByUsername(username string) (user.User, error)
- func FindTwitterUser(twitter_id int64) *user.User
- func GetSession() *sql.DB
- func GetTotalUsers() int
- func Setup()
- func UpdateTelegramUsername(user user.User) error
- type TotalTransferredStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOrUpdateTotalTransferred ¶
func AddOrUpdateTotalTransferred(transaction bcoins.Transaction)
func FindTwitterUser ¶
func GetSession ¶
func UpdateTelegramUsername ¶
Types ¶
type TotalTransferredStat ¶
func FindTotalTransferred ¶
func FindTotalTransferred(coinsymbol string) (TotalTransferredStat, error)
func GetAllCoinStats ¶
func GetAllCoinStats() []TotalTransferredStat
Click to show internal directories.
Click to hide internal directories.