Documentation ¶
Index ¶
- func Close()
- func GetCardsDatabase() []types.ApiCard
- func GetCardsDatabaseSyncTime() time.Time
- func GetCardsUsage() types.CardUsageData
- func GetCardsUsageSyncTime() time.Time
- func GetDirectory() string
- func GetHearthPwnUser() string
- func GetMyCards() []types.MyCard
- func GetMyCardsSyncTime() time.Time
- func Initialize()
- func SaveCardsDatabase(cardsDatabase []types.ApiCard)
- func SaveCardsUsage(cardsUsage types.CardUsageData)
- func SaveMyCards(cards []types.MyCard)
- func SetHearthPwnUser(user string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCardsDatabase ¶
GetCardsDatabase - Get cards database from database
func GetCardsDatabaseSyncTime ¶
GetCardsDatabaseSyncTime - Get time of hearthstonejson.com synchronization
func GetCardsUsage ¶
func GetCardsUsage() types.CardUsageData
GetCardsUsage - Get cards usage from database
func GetCardsUsageSyncTime ¶
GetCardsUsageSyncTime - Get time of hsreplay.net synchronization
func GetDirectory ¶
func GetDirectory() string
GetDirectory - Get directory location with database and other files
func GetHearthPwnUser ¶
func GetHearthPwnUser() string
GetHearthPwnUser - Get hearthpwn.com user name for scraping data
func GetMyCardsSyncTime ¶
GetMyCardsSyncTime - Get time of hearthpwn.com synchronization
func SaveCardsDatabase ¶
SaveCardsDatabase - Save cards database to database
func SaveCardsUsage ¶
func SaveCardsUsage(cardsUsage types.CardUsageData)
SaveCardsUsage - Save cards usage to database
func SaveMyCards ¶
SaveMyCards - Save my cards info to database
func SetHearthPwnUser ¶
func SetHearthPwnUser(user string)
SetHearthPwnUser - Set hearthpwn.com user name for scraping data
Types ¶
This section is empty.