controllers

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About(c *gin.Context)

About 关于页面

func AuthMiddleWare

func AuthMiddleWare() gin.HandlerFunc

AuthMiddleWare 路由中间件,验证cookie是否正确

func Change

func Change(c *gin.Context)

Change log

func DeleteFile

func DeleteFile(c *gin.Context)

DeleteFile 删除文件

func Index

func Index(c *gin.Context)

Index 主页面

func Login

func Login(c *gin.Context)

Login 处理登录请求,设置cookie

func LoginPage

func LoginPage(c *gin.Context)

LoginPage 登陆页面

func PostFile

func PostFile(c *gin.Context)

PostFile 上传单个文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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