Documentation
¶
Index ¶
- func DecodeFromBytes(data []byte) (*models.DecodedInventory, error)
- func DecodeInventory(data string) (*models.DecodedInventory, error)
- func GetItem(itemId string) *models.HypixelItem
- func GetItems(cache bool, cacheTime int64, retries int) (map[string]models.HypixelItem, error)
- func GetPrices(cache bool, cacheTimeSeconds int64, retries int) (map[string]float64, error)
- func ParseItems(profileData *skycrypttypes.Member, museumData *skycrypttypes.Museum) (*models.ParsedItems, error)
- func TitleCase(str string) string
- type ItemProviderAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFromBytes ¶
func DecodeFromBytes(data []byte) (*models.DecodedInventory, error)
func DecodeInventory ¶
func DecodeInventory(data string) (*models.DecodedInventory, error)
func GetItem ¶
func GetItem(itemId string) *models.HypixelItem
func ParseItems ¶
func ParseItems(profileData *skycrypttypes.Member, museumData *skycrypttypes.Museum) (*models.ParsedItems, error)
Types ¶
type ItemProviderAdapter ¶
type ItemProviderAdapter struct{}
func NewItemProviderAdapter ¶
func NewItemProviderAdapter() *ItemProviderAdapter
func (*ItemProviderAdapter) GetItem ¶
func (adapter *ItemProviderAdapter) GetItem(itemId string) *models.HypixelItem
Click to show internal directories.
Click to hide internal directories.