handler

package
v0.0.0-...-5447790 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize() gin.HandlerFunc

Authorize : http请求拦截器

func DoSigninHandler

func DoSigninHandler(c *gin.Context)

DoSigninHandler : 处理登录post请求

func DoSignupHandler

func DoSignupHandler(c *gin.Context)

DoSignupHandler : 处理注册post请求

func FileMetaUpdateHandler

func FileMetaUpdateHandler(c *gin.Context)

FileMetaUpdateHandler : 更新元信息接口(重命名)

func FileQueryHandler

func FileQueryHandler(c *gin.Context)

FileQueryHandler : 查询批量的文件元信息

func IsTokenValid

func IsTokenValid(token string) bool

IsTokenValid : token是否有效

func SigninHandler

func SigninHandler(c *gin.Context)

SigninHandler : 响应登录页面

func SignupHandler

func SignupHandler(c *gin.Context)

SignupHandler : 响应注册页面

func UserInfoHandler

func UserInfoHandler(c *gin.Context)

UserInfoHandler : 查询用户信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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