Documentation ¶
Index ¶
- type APIClient
- func (c *APIClient) GetDocument(ctx context.Context, file string, destination interface{}) error
- func (c *APIClient) GetItemSet(ctx context.Context, set sets.SetName) ([]models.Item, error)
- func (c *APIClient) GetItemsByID(ctx context.Context, ids ...string) ([]models.Item, error)
- func (c *APIClient) GetItemsByName(ctx context.Context, names ...string) ([]models.Item, error)
- func (c *APIClient) GetItemsByQuery(ctx context.Context, query string) ([]models.Item, error)
- func (c *APIClient) GetItemsBySlot(ctx context.Context, slot slots.SlotName) ([]models.Item, error)
- func (c *APIClient) GetMonstersByID(ctx context.Context, ids ...string) ([]models.Monster, error)
- func (c *APIClient) GetMonstersByName(ctx context.Context, names ...string) ([]models.Monster, error)
- func (c *APIClient) GetMonstersByQuery(ctx context.Context, query string) ([]models.Monster, error)
- func (c *APIClient) GetMonstersThatDrop(ctx context.Context, names ...string) ([]models.Monster, error)
- func (c *APIClient) GetPrayersByID(ctx context.Context, ids ...string) ([]models.Prayer, error)
- func (c *APIClient) GetPrayersByName(ctx context.Context, names ...string) ([]models.Prayer, error)
- func (c *APIClient) GetPrayersByQuery(ctx context.Context, query string) ([]models.Prayer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func (*APIClient) GetDocument ¶
GetDocument retrieves the specified file from the Static JSON API and unmarshals the response into the destination.
func (*APIClient) GetItemSet ¶
func (*APIClient) GetItemsByID ¶
func (*APIClient) GetItemsByName ¶
func (*APIClient) GetItemsByQuery ¶
func (*APIClient) GetItemsBySlot ¶
func (*APIClient) GetMonstersByID ¶
func (*APIClient) GetMonstersByName ¶
func (*APIClient) GetMonstersByQuery ¶
func (*APIClient) GetMonstersThatDrop ¶
func (*APIClient) GetPrayersByID ¶
func (*APIClient) GetPrayersByName ¶
Click to show internal directories.
Click to hide internal directories.