model

package
v0.0.0-...-3ae0001 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FacerecConfig

type FacerecConfig struct {
	Threshold float64 `json:"threshold"`
}
type Header struct {
	SignAlg string `json:"alg"`
	EncrAlg string `json:"enc"`
}

type Payload

type Payload struct {
	UserID int  `json:"userId"`
	Admin  bool `json:"admin"`
}

type TokenProtected

type TokenProtected struct {
	SynBytes  []byte
	Header    Header
	Payload   Payload
	SignBytes []byte
}

Jump to

Keyboard shortcuts

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