Documentation ¶
Index ¶
Constants ¶
View Source
const (
APIPath = "/tasks"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTaskRequest ¶
type TasksService ¶
type TasksService interface { CreateTaskHandler(w http.ResponseWriter, r *http.Request) GetTaskHandler(w http.ResponseWriter, r *http.Request) UpdateTaskHandler(w http.ResponseWriter, r *http.Request) ListTasksHandler(w http.ResponseWriter, r *http.Request) DeleteTaskHandler(w http.ResponseWriter, r *http.Request) }
func NewTaskService ¶
func NewTaskService(r *mux.Router, taskRepo repository.TaskRepository, mw token.AuthMiddleware) TasksService
Click to show internal directories.
Click to hide internal directories.