controller

package
v0.0.0-...-ffd0b7c Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyJSON

func AnyJSON(c *gin.Context)

AnyJSON returns JSON with request data

func DeleteCookieJSON

func DeleteCookieJSON(c *gin.Context)

The request responds to a url matching: /delete?name=Jane

func GetCookiesJSON

func GetCookiesJSON(c *gin.Context)

func GetDateTimeJSON

func GetDateTimeJSON(c *gin.Context)

func GetHeadersJSON

func GetHeadersJSON(c *gin.Context)

GetHeadersJSON returns JSON with headers received from client

func GetIPJSON

func GetIPJSON(c *gin.Context)

GetIPJSON returns JSON with IP address of client

func GetImage

func GetImage(c *gin.Context)

GetImage returns image of selected type ex. /image/jpg returns '.jpg' image

func GetIndex

func GetIndex(c *gin.Context)

func GetJSON

func GetJSON(c *gin.Context)

GetJSON returns JSON with GET data

func GetListTokenRequests

func GetListTokenRequests(c *gin.Context)

func GetNewToken

func GetNewToken(c *gin.Context)

func GetRedirects

func GetRedirects(c *gin.Context)

GetRedirects returns redirect code time specified by client in parameter

func GetStatus

func GetStatus(c *gin.Context)

func GetStatusJSON

func GetStatusJSON(c *gin.Context)

func GetUUIDJSON

func GetUUIDJSON(c *gin.Context)

GetUUIDJSON returns JSON with UUID of version specified in parameter

func GetUserAgentJSON

func GetUserAgentJSON(c *gin.Context)

GetUserAgentJSON returns JSON with user-agent received from client

func GetVideo

func GetVideo(c *gin.Context)

GetVideo returns video of selected type ex. /image/mp4 returns '.mp4' image

func PostBase32JSON

func PostBase32JSON(c *gin.Context)

func PostBase64JSON

func PostBase64JSON(c *gin.Context)

func PostBlake2bJSON

func PostBlake2bJSON(c *gin.Context)

func PostMD5JSON

func PostMD5JSON(c *gin.Context)

func PostSHA1JSON

func PostSHA1JSON(c *gin.Context)

func PostSHA256JSON

func PostSHA256JSON(c *gin.Context)

func PostSHA3JSON

func PostSHA3JSON(c *gin.Context)

func SetCookieJSON

func SetCookieJSON(c *gin.Context)

The request responds to a url matching: /set?name=Jane&value=Doe

Types

This section is empty.

Jump to

Keyboard shortcuts

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