Documentation ¶
Overview ¶
Package projectgrp maintains the group of handlers for project access.
Index ¶
- type Handlers
- func (h Handlers) BulkDelete(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryProjectTasks(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Update(ctx context.Context, w http.ResponseWriter, r *http.Request) error
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 ¶
BulkDelete removes a project from the system.
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.
Click to show internal directories.
Click to hide internal directories.