controllers

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

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

Go to latest
Published: Sep 11, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(c *gin.Context)

func GetUser

func GetUser(c *gin.Context)

func GetUserByName

func GetUserByName(c *gin.Context)

func Login

func Login(c *gin.Context)

func Ping

func Ping(c *gin.Context)

func Register

func Register(c *gin.Context)

func VerifyLogin

func VerifyLogin(c *gin.Context)

func VerifyRegistration

func VerifyRegistration(c *gin.Context)

Types

type Params

type Params struct {
	Username  string `json:"username,omitempty"`
	Challenge string `json:"challenge,omitempty"`
}

func GetParams

func GetParams(c *gin.Context) (Params, gin.H)

type VerifyCredential

type VerifyCredential struct {
	protocol.CredentialCreationResponse
	Username string
}

Jump to

Keyboard shortcuts

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