Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondJSON ¶
Types ¶
type AddTask ¶
type AddTask struct { Service AddTaskService Validator *validator.Validate }
type AddTaskService ¶
type ErrorResponse ¶
type ListTask ¶
type ListTask struct {
Service ListTasksService
}
type ListTasksService ¶
type RegisterUser ¶
type RegisterUser struct { Service RegisterUserService Validator *validator.Validate }
func (*RegisterUser) ServeHTTP ¶
func (ru *RegisterUser) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.