controller

package
v0.0.0-...-3ac9adb Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentAction

func CommentAction(ctx *gin.Context)

func CommentList

func CommentList(ctx *gin.Context)

func FavoriteAction

func FavoriteAction(ctx *gin.Context)

func FavoriteList

func FavoriteList(ctx *gin.Context)

func Feed

func Feed(ctx *gin.Context)

如果出现token 则不会出现自己的视频

func FollowList

func FollowList(ctx *gin.Context)

func FollowerList

func FollowerList(ctx *gin.Context)

func Login

func Login(ctx *gin.Context)

func Publish

func Publish(ctx *gin.Context)

func PublishList

func PublishList(ctx *gin.Context)

func Register

func Register(ctx *gin.Context)

func RelationAction

func RelationAction(ctx *gin.Context)

func UserInfo

func UserInfo(ctx *gin.Context)

查询用户信息接口函数。

Types

type RegisterRequest

type RegisterRequest struct {
	Username string `json:"username" binding:"required,min=3,max=20" form:"username"`
	Password string `json:"password" binding:"required,min=3,max=20" form:"password"`
}

Jump to

Keyboard shortcuts

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