run

package
v0.0.0-...-bb6ce45 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HS256   = "HS256"
	HS384   = "HS384"
	HS512   = "HS512"
	RS256   = "RS256"
	RS384   = "RS384"
	RS512   = "RS512"
	ES256   = "ES256"
	ES384   = "ES384"
	ES512   = "ES512"
	Ed25519 = "Ed25519"
)

various algorithms

Variables

This section is empty.

Functions

func Decode

func Decode(cmd *cobra.Command, args []string) error

func Encode

func Encode(cmd *cobra.Command, args []string) error

func Keygen

func Keygen(cmd *cobra.Command, _ []string) error

Types

type Token

type Token struct {
	Header map[string]interface{} `json:"header,omitempty"`
	Claims jwt.Claims             `json:"claims,omitempty"`
	Valid  bool                   `json:"valid"`
}

Jump to

Keyboard shortcuts

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