types

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 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 HandlerFunc

type HandlerFunc[T ApiRequest, R ApiResponse] func(context.Context, T) (R, error)

type JwtToken

type JwtToken struct {
	Token     string
	ExpiresIn int
}

type MyCustomClaims

type MyCustomClaims struct {
	Payload interface{} `json:"payload"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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