Documentation
¶
Index ¶
- type AuthController
- type PokemonController
- func (c *PokemonController) DeletePokemon(w http.ResponseWriter, r *http.Request)
- func (c *PokemonController) GetAllPokemons(w http.ResponseWriter, r *http.Request)
- func (c *PokemonController) GetPokemonById(w http.ResponseWriter, r *http.Request)
- func (c *PokemonController) RegistryNewPokemon(w http.ResponseWriter, r *http.Request)
- func (c *PokemonController) UpdatePokemon(w http.ResponseWriter, r *http.Request)
- type TiersController
- type UsersController
- func (c *UsersController) DeleteClientAccount(w http.ResponseWriter, r *http.Request)
- func (c *UsersController) GetAdmins(w http.ResponseWriter, r *http.Request)
- func (c *UsersController) GetUserById(w http.ResponseWriter, r *http.Request)
- func (c *UsersController) NewAdministrator(w http.ResponseWriter, r *http.Request)
- func (c *UsersController) NewClient(w http.ResponseWriter, r *http.Request)
- func (c *UsersController) UpdateClient(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController(service *services.AuthService) *AuthController
func (*AuthController) SignIn ¶
func (c *AuthController) SignIn(w http.ResponseWriter, r *http.Request)
type PokemonController ¶
type PokemonController struct {
// contains filtered or unexported fields
}
func NewPokemonController ¶
func NewPokemonController(service *services.PokemonService) *PokemonController
func (*PokemonController) DeletePokemon ¶
func (c *PokemonController) DeletePokemon(w http.ResponseWriter, r *http.Request)
func (*PokemonController) GetAllPokemons ¶
func (c *PokemonController) GetAllPokemons(w http.ResponseWriter, r *http.Request)
func (*PokemonController) GetPokemonById ¶
func (c *PokemonController) GetPokemonById(w http.ResponseWriter, r *http.Request)
func (*PokemonController) RegistryNewPokemon ¶
func (c *PokemonController) RegistryNewPokemon(w http.ResponseWriter, r *http.Request)
func (*PokemonController) UpdatePokemon ¶
func (c *PokemonController) UpdatePokemon(w http.ResponseWriter, r *http.Request)
type TiersController ¶
type TiersController struct {
// contains filtered or unexported fields
}
func NewTiersController ¶
func NewTiersController(service *services.TiersService) *TiersController
func (*TiersController) FindAll ¶
func (c *TiersController) FindAll(w http.ResponseWriter, r *http.Request)
func (*TiersController) FindById ¶
func (c *TiersController) FindById(w http.ResponseWriter, r *http.Request)
type UsersController ¶
type UsersController struct {
// contains filtered or unexported fields
}
func NewUsersController ¶
func NewUsersController(service *services.UsersService) *UsersController
func (*UsersController) DeleteClientAccount ¶
func (c *UsersController) DeleteClientAccount(w http.ResponseWriter, r *http.Request)
func (*UsersController) GetAdmins ¶
func (c *UsersController) GetAdmins(w http.ResponseWriter, r *http.Request)
func (*UsersController) GetUserById ¶
func (c *UsersController) GetUserById(w http.ResponseWriter, r *http.Request)
func (*UsersController) NewAdministrator ¶
func (c *UsersController) NewAdministrator(w http.ResponseWriter, r *http.Request)
func (*UsersController) NewClient ¶
func (c *UsersController) NewClient(w http.ResponseWriter, r *http.Request)
func (*UsersController) UpdateClient ¶
func (c *UsersController) UpdateClient(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.