Versions in this module Expand all Collapse all v0 v0.1.0 Feb 5, 2023 Changes in this version + type CardFetcher struct + func (cf *CardFetcher) GetCardImage(ctx context.Context, imageURL string) (data []byte, err error) + type DoKAPI struct + func NewDoKAPI(addr, apiKey string) *DoKAPI + func (da *DoKAPI) GetCards(ctx context.Context) (cards []forgefs.Card, err error) + func (da *DoKAPI) GetDeck(ctx context.Context, id string, deck *forgefs.Deck) (updatedDeck forgefs.Deck, err error) + func (da *DoKAPI) GetMyDecks(ctx context.Context) (decks []forgefs.Deck, err error) + type SkyJAPI struct + func NewSkyJAPI(baseURL string) *SkyJAPI + func (sja *SkyJAPI) GetDeckImage(ctx context.Context, deckID string) (data []byte, err error) + func (sja *SkyJAPI) GetDeckImageSuffix() string