task

package
v0.0.0-...-269099d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *gin.Context)

@Summary task delete @Tags Task @Description 删除 @Produce json @Security token @Param id path int true "ID" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/task/{id}/ [delete]

func Get

func Get(c *gin.Context)

@Summary task list @Tags Task @Description 列表 @Produce json @Security token @Param page query int true "Page" @Param pagesize query int true "Pagesize" @Param object query db.TaskSearchField false "field" @Success 200 {object} msg.Response @Failure 200 {object} msg.Response @Router /api/v1/task/ [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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