controller

package
v0.0.0-...-ba89105 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware() (*jwt.GinJWTMiddleware, error)

func CreateTask

func CreateTask() gin.HandlerFunc

func CreateUser

func CreateUser() gin.HandlerFunc

func DeleteTask

func DeleteTask() gin.HandlerFunc

func DoneTask

func DoneTask() gin.HandlerFunc

func GetTask

func GetTask() gin.HandlerFunc

func GetTasks

func GetTasks() gin.HandlerFunc

func GetUserMe

func GetUserMe() gin.HandlerFunc

func UpdateTask

func UpdateTask() gin.HandlerFunc

Types

type UserResponse

type UserResponse struct {
	ID       int    `json:"id"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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