handler

package
v0.0.0-...-19b14ac Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Create = iota + 1
	Modify
	Delete
	BrowseOwn
	BrowOther
	CateCrete
	CateModify
	CateDelete
	CateBrowse
	CateBroOth
)

Variables

This section is empty.

Functions

func AuthCateBroOth

func AuthCateBroOth(c *gin.Context)

func AuthCateBrowse

func AuthCateBrowse(c *gin.Context)

func AuthCateCreate

func AuthCateCreate(c *gin.Context)

func AuthCateDelete

func AuthCateDelete(c *gin.Context)

func AuthCateModify

func AuthCateModify(c *gin.Context)

func AuthCreate

func AuthCreate(c *gin.Context)

func AuthDelete

func AuthDelete(c *gin.Context)

func AuthGet

func AuthGet(c *gin.Context)

AuthGet 验证用户是否有获取其自己 file 的权限

func Authenticate

func Authenticate(c *gin.Context)

Authenticate 用于验证用户是否登录

func CreateCategory

func CreateCategory(c *gin.Context)

func CreateFile

func CreateFile(c *gin.Context)

func DeleteCategory

func DeleteCategory(c *gin.Context)

func DeleteFile

func DeleteFile(c *gin.Context)

func GetUserCategories

func GetUserCategories(c *gin.Context)

GetUserCategories 用于获取用户的分类信息

func GetUserFiles

func GetUserFiles(c *gin.Context)

func Home

func Home(c *gin.Context)

func Login

func Login(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