frontend

package
v0.0.0-...-4180b42 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequests

func HandleRequests(pathPrefix string, port uint16, accessLog io.Writer) (err error)

func Initialize

func Initialize(user, password, CookieSecret, tokenIssuer string, tokenExpirationTime uint) error

Types

type Auth

type Auth struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Data

type Data struct {
	Token string `json:"token"`
}

type MyCustomClaims

type MyCustomClaims struct {
	Name string `json:"name"`
	Role string `json:"role"`
	jwt.RegisteredClaims
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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