gjwt

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

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// default, we will load
	// the keys into memory
	PrivateKey *rsa.PrivateKey
	PublicKey  *rsa.PublicKey

	// only if it will be used by files
	PathPrivate = "./private.rsa"
	PathPublic  = "./public.rsa.pub"

	ProjectTitle = "jwt web"

	ExpirationHours = 22  // Hours
	DayExpiration   = 200 // Days
)

Functions

This section is empty.

Types

type JsonMsg

type JsonMsg struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

Structure of our server configurations

Jump to

Keyboard shortcuts

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