Documentation ¶
Index ¶
- type UserController
- func (c UserController) Create(w http.ResponseWriter, r *http.Request)
- func (c UserController) Delete(w http.ResponseWriter, r *http.Request)
- func (c UserController) Get(w http.ResponseWriter, r *http.Request)
- func (c UserController) GetAll(w http.ResponseWriter, r *http.Request)
- func (c UserController) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(userRepository repository.UserRepository) UserController
func (UserController) Create ¶
func (c UserController) Create(w http.ResponseWriter, r *http.Request)
func (UserController) Delete ¶
func (c UserController) Delete(w http.ResponseWriter, r *http.Request)
func (UserController) Get ¶
func (c UserController) Get(w http.ResponseWriter, r *http.Request)
func (UserController) GetAll ¶
func (c UserController) GetAll(w http.ResponseWriter, r *http.Request)
func (UserController) Update ¶
func (c UserController) Update(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.