api

package
v0.0.0-...-adf2ced Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArticle

func AddArticle(ctx *gin.Context)

func AddCategory

func AddCategory(ctx *gin.Context)

func AddTag

func AddTag(ctx *gin.Context)

func DeleteArticle

func DeleteArticle(ctx *gin.Context)

func DeleteCategory

func DeleteCategory(ctx *gin.Context)

func DeleteTag

func DeleteTag(ctx *gin.Context)

func GetArticle

func GetArticle(ctx *gin.Context)

func GetArticlePage

func GetArticlePage(ctx *gin.Context)

func GetCategory

func GetCategory(ctx *gin.Context)

func GetCategoryList

func GetCategoryList(ctx *gin.Context)

func GetTag

func GetTag(ctx *gin.Context)

func GetTagPage

func GetTagPage(ctx *gin.Context)

func Login

func Login(ctx *gin.Context)

* 登录

func RenderArticle

func RenderArticle(ctx *gin.Context)

func UpdateArticle

func UpdateArticle(ctx *gin.Context)

func UpdateArticleStatus

func UpdateArticleStatus(ctx *gin.Context)

func UpdateCategory

func UpdateCategory(ctx *gin.Context)

func UpdateCategoryOrderValue

func UpdateCategoryOrderValue(ctx *gin.Context)

func UpdateCategoryStatus

func UpdateCategoryStatus(ctx *gin.Context)

func UpdateTag

func UpdateTag(ctx *gin.Context)

func UpdateTagStatus

func UpdateTagStatus(ctx *gin.Context)

Types

type LoginForm

type LoginForm struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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