jwttoken

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOKEN_LIFETIME_IN_SECONDS = 60 * 60 * 24 * 30
	TOKEN_COOKIE_NAME         = "phoenix-token"
)

Variables

This section is empty.

Functions

func GetJWTToken

func GetJWTToken() (string, error)

func TokenToCookie

func TokenToCookie(value string) *http.Cookie

Types

This section is empty.

Jump to

Keyboard shortcuts

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