jwt

package
v0.0.0-...-d9656e6 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	SigningKey []byte
}

func NewHelper

func NewHelper() *Helper

func (*Helper) Decode

func (jwtHelper *Helper) Decode(token string) (RoundToken, error)

func (*Helper) Encode

func (jwtHelper *Helper) Encode(token *RoundToken) string

type RoundToken

type RoundToken struct {
	RoundURL string `json:"roundUrl"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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