Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CreateUser ¶
func (h Handler) CreateUser(w http.ResponseWriter, r *http.Request)
func (Handler) DeleteUser ¶
func (h Handler) DeleteUser(w http.ResponseWriter, r *http.Request)
func (Handler) UpdateUser ¶
func (h Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
TODO: Return updated user
type ListUserResponse ¶
type ListUserResponse struct {
Users postgresutils.Page[user.User] `json:"users"`
}
TODO: Add pagination
Click to show internal directories.
Click to hide internal directories.