Documentation ¶
Index ¶
- func EstablishSKCDeckAPIDBConn()
- type SKCDeckAPIDAO
- type SKCDeckAPIDAOImplementation
- func (dbInterface SKCDeckAPIDAOImplementation) GetDeckList(deckID string) (*model.DeckList, *model.APIError)
- func (dbInterface SKCDeckAPIDAOImplementation) GetDecksThatFeatureCards(cardIDs []string) (*[]model.DeckList, *model.APIError)
- func (dbInterface SKCDeckAPIDAOImplementation) GetSKCDeckAPIDBVersion() (string, error)
- func (dbInterface SKCDeckAPIDAOImplementation) InsertDeckList(deckList model.DeckList) *model.APIError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SKCDeckAPIDAO ¶
type SKCDeckAPIDAO interface { GetSKCDeckAPIDBVersion() (string, error) InsertDeckList(deckList model.DeckList) *model.APIError GetDeckList(deckID string) (*model.DeckList, *model.APIError) GetDecksThatFeatureCards([]string) (*[]model.DeckList, *model.APIError) }
interface
type SKCDeckAPIDAOImplementation ¶
type SKCDeckAPIDAOImplementation struct{}
impl
func (SKCDeckAPIDAOImplementation) GetDeckList ¶
func (SKCDeckAPIDAOImplementation) GetDecksThatFeatureCards ¶
func (SKCDeckAPIDAOImplementation) GetSKCDeckAPIDBVersion ¶
func (dbInterface SKCDeckAPIDAOImplementation) GetSKCDeckAPIDBVersion() (string, error)
Retrieves the version number of the SKC Deck API DB or throws an error if an exception occurs.
func (SKCDeckAPIDAOImplementation) InsertDeckList ¶
func (dbInterface SKCDeckAPIDAOImplementation) InsertDeckList(deckList model.DeckList) *model.APIError
Click to show internal directories.
Click to hide internal directories.