controller

package
v0.0.0-...-d993e0e Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

* @Author: drowningwhale 351231768@qq.com * @Date: 2023-09-30 13:32:00 * @LastEditors: drowningwhale 351231768@qq.com * @LastEditTime: 2023-10-01 14:10:04 * @FilePath: \go-coursed:\Data\Gitee\bluebell\controller\user.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommunityDetailHandler

func CommunityDetailHandler(c *gin.Context)

func CommunityHandler

func CommunityHandler(c *gin.Context)

查询所有社区

func CreatePostHandler

func CreatePostHandler(c *gin.Context)

帖子发布

func GetAuthJwtToken

func GetAuthJwtToken(c *gin.Context) (userId int)

func GetOrderPostListHandler

func GetOrderPostListHandler(c *gin.Context)

帖子排序列表

func GetPostDetailHandler

func GetPostDetailHandler(c *gin.Context)

帖子详情页

func GetPostListHandler

func GetPostListHandler(c *gin.Context)

帖子列表

func GinTest

func GinTest(c *gin.Context)

func HandlerValidatorError

func HandlerValidatorError(ctx *gin.Context, err error)

翻译器

func LoginHandler

func LoginHandler(c *gin.Context)

func PostVoteController

func PostVoteController(c *gin.Context)

func RequestJson

func RequestJson(c *gin.Context, msg interface{})

func SignUpHandler

func SignUpHandler(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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