Documentation
¶
Index ¶
- Variables
- func GetCastInFight(ctx context.Context, id int64) (*models.CastInFight, error)
- func GetConsumable(id int64) (*models.Consumable, error)
- func GetEnchant(enchantID int64) (*models.Enchant, error)
- func GetGem(id int64) (*models.Gem, error)
- func GetTemporaryEnchant(enchantID int64) (*models.TemporaryEnchant, error)
- func GetWowheadItem(ctx context.Context, itemID int64) (*wowhead.Item, error)
- func Init(folder string) error
- func SetCastInFight(v *models.CastInFight)
- func SetConsumable(consumable *models.Consumable)
- func SetEnchant(enchant *models.Enchant)
- func SetGem(gem *models.Gem)
- func SetTemporaryEnchant(enchant *models.TemporaryEnchant)
- func Teardown(folder string) error
- type Wowhead
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCastInFightNotFound = fmt.Errorf("cast in fight not found")
)
Functions ¶
func GetCastInFight ¶
func GetConsumable ¶
func GetConsumable(id int64) (*models.Consumable, error)
func GetTemporaryEnchant ¶
func GetTemporaryEnchant(enchantID int64) (*models.TemporaryEnchant, error)
func SetCastInFight ¶
func SetCastInFight(v *models.CastInFight)
func SetConsumable ¶
func SetConsumable(consumable *models.Consumable)
func SetEnchant ¶
func SetTemporaryEnchant ¶
func SetTemporaryEnchant(enchant *models.TemporaryEnchant)
Types ¶
Click to show internal directories.
Click to hide internal directories.