validateJWT

package
v0.0.0-...-17364b3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidateJWTNanos

func NewValidateJWTNanos(
	workersMaxCount int,
	taskQueueCapacity int,
	key string,
) chan nanos.Message

Types

type Claims

type Claims struct {
	ID    int      `json:"id"`
	Roles []string `json:"roles"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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