projectgrp

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: 16 Imported by: 0

Documentation

Overview

Package projectgrp maintains the group of handlers for project access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Project       project.Core
	ProjectUser   project_user.Core
	Workspace     workspace.Core
	WorkspaceUser workspace_user.Core
	User          user.Core
	Task          task.Core
}

Handlers manages the set of project endpoints.

func (Handlers) BulkDelete

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

BulkDelete removes a project from the system.

func (Handlers) Create

Create adds a new project to the system.

func (Handlers) QueryByID

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

QueryByID returns a project by its ID.

func (Handlers) QueryProjectTasks

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

QueryProjectTasks returns a list of workspaces with paging.

func (Handlers) Update

Update updates a project in the system.

Jump to

Keyboard shortcuts

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