v1

package
v0.0.0-...-1f55c80 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIHandler

func APIHandler(c *gin.Context)

APIHandler api转发 @Summary API Handler @Accept json @Produce json @Param resbody body defs.APIBody true "a api body" @Success 200 {html} html "userhome.html" @Failure 400 {string} json "{"code":400,"msg":"","data":""}" @Router /api [post]

func HomeHandler

func HomeHandler(c *gin.Context)

HomeHandler 登陆界面 @Summary sign in home @Accept json @Produce json @Param username cookie string true "username" @Param session cookie string true "session" @Success 200 {html} html "home.html" @Router / [post, get]

func ProxyUploadHandler

func ProxyUploadHandler(c *gin.Context)

ProxyUploadHandler proxy转发 @Summary Proxy Handler @Router /upload/{vid-id} [post]

func ProxyVideoHandler

func ProxyVideoHandler(c *gin.Context)

ProxyVideoHandler proxy转发 @Summary Proxy Handler @Router /upload/{vid-id} [get]

func ReverseProxy

func ReverseProxy() gin.HandlerFunc

func UserHomeHandler

func UserHomeHandler(c *gin.Context)

UserHomeHandler 用户页面 @Summary user home @Accept json @Produce json @Param username cookie string true "username" @Param session cookie string true "session" @Success 200 {html} html "userhome.html" @Router /userhome [post, get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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