Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { DeleteLikes(superheroID string) error GetChoice(key string) (*model.Choice, error) GetChoices(keys []string) (choices []model.Choice, err error) GetLikes(superheroID string) ([]string, error) GetSuggestions(keys []string) (suggestions []model.Superhero, err error) SetSuggestions(suggestions []model.Superhero) error }
Cache interface defines cache methods.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.