d8crypto

package
v1.26.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenJWT

func GenJWT(privateKeyPath string, claims map[string]string, ttl time.Duration) error

func GenKeypair

func GenKeypair() error

Types

type Keypair

type Keypair struct {
	Pub  string `json:"pub"`
	Priv string `json:"priv"`
}

Jump to

Keyboard shortcuts

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