lib

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 GetItems

func GetItems(cache bool, cacheTime int64, retries int) (map[string]models.HypixelItem, error)

func GetPrices

func GetPrices(cache bool, cacheTimeSeconds int64, retries int) (*models.Prices, error)

func ParseItems

func ParseItems(profileData *skycrypttypes.Member, museumData *skycrypttypes.Museum) (*models.ParsedItems, error)

func TitleCase

func TitleCase(str string) string

Types

type ItemProviderAdapter

type ItemProviderAdapter struct{}

func NewItemProviderAdapter

func NewItemProviderAdapter() *ItemProviderAdapter

func (*ItemProviderAdapter) GetItem

func (adapter *ItemProviderAdapter) GetItem(itemId string) *models.HypixelItem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL