auth

package
v0.0.0-...-6b747b8 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Password string

Password get the user name from the environment file

View Source
var UserName string

UserName get the user name from the environment file

Functions

func GenerateJWT

func GenerateJWT() (string, error)

GenerateJWT will genearate jwt

func IsAuthenticated

func IsAuthenticated(next http.HandlerFunc) http.HandlerFunc

IsAuthenticated is a function

Types

This section is empty.

Jump to

Keyboard shortcuts

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