Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientPokemon ¶
type PokemonService ¶
type PokemonService struct {
// contains filtered or unexported fields
}
func NewPokemonService ¶
func NewPokemonService(cache cache.Redis) *PokemonService
func (*PokemonService) GetAllResultPokemonFromPokeApi ¶
func (p *PokemonService) GetAllResultPokemonFromPokeApi() (*presenter.Result, error)
func (*PokemonService) GetPokemonFromPokeApi ¶
func (p *PokemonService) GetPokemonFromPokeApi(pokemon string) (*presenter.ClientPokemon, error)
Click to show internal directories.
Click to hide internal directories.