authentication

package
v0.0.0-...-8bbd0fc Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const JWTSecret = "topdawg5521"

Variables

This section is empty.

Functions

func CheckIfUsernameExists

func CheckIfUsernameExists(username string) (bool, error)

func RegisterRoutes

func RegisterRoutes(e *echo.Echo)

RegisterRoutes sets up routes on a given nova.Server instance

Types

type JwtClaims

type JwtClaims struct {
	Name string
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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