taskgrp

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package taskgrp maintains the group of handlers for task access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Task      task.Core
	Workspace workspace.Core
	User      user.Core
}

Handlers manages the set of task endpoints.

func (Handlers) BulkDelete

func (h Handlers) BulkDelete(ctx context.Context, w http.ResponseWriter, r *http.Request) error

BulkDelete removes a task from the system.

func (Handlers) BulkUpdate

func (h Handlers) BulkUpdate(ctx context.Context, w http.ResponseWriter, r *http.Request) error

BulkUpdate updates a task in the system.

func (Handlers) Create

Create adds a new task to the system.

func (Handlers) QueryByID

func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error

QueryByID returns a task by its ID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL