controllers

package
v0.0.0-...-7866cfe Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeclareList

func DeclareList(c *gin.Context)

func DeclarePrepare

func DeclarePrepare(c *gin.Context)

@AUTH @Admin Create the entries in the declare table ----------------------------------------------------

func GetStats

func GetStats(c *gin.Context)

GetStats returns useful statistics

func HeartGet

func HeartGet(c *gin.Context)

func ListAll

func ListAll(c *gin.Context)

func MatchGet

func MatchGet(c *gin.Context)

func PubkeyList

func PubkeyList(c *gin.Context)

func SessionId

func SessionId(c *gin.Context) (string, error)

func SessionLogin

func SessionLogin(c *gin.Context)

func SessionLogout

func SessionLogout(c *gin.Context)

func UserDelete

func UserDelete(c *gin.Context)

func UserFirst

func UserFirst(c *gin.Context)

User's first login ------------------

func UserGet

func UserGet(c *gin.Context)

func UserLoginGet

func UserLoginGet(c *gin.Context)

func UserMail

func UserMail(c *gin.Context)

User asking for email ---------------------

func UserNew

func UserNew(c *gin.Context)

func UserSavePass

func UserSavePass(c *gin.Context)

@AUTH Update user passsave ------------------------------

func UserSubmitTrue

func UserSubmitTrue(c *gin.Context)

func UserUpdateData

func UserUpdateData(c *gin.Context)

func UserUpdateImage

func UserUpdateImage(c *gin.Context)

Types

type LoginInfo

type LoginInfo struct {
	Username string `json:"username" xml:"username" form:"username"`
	Passhash string `json:"password" xml:"password" form:"password"`
}

Jump to

Keyboard shortcuts

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