tokenApi

package
v0.0.0-...-7dcfe9a Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyToken

func VerifyToken(ctx iris.Context)

Types

type GenResp

type GenResp struct {
	app.Response
	jwt.Claims
}

type ReqForm

type ReqForm struct {
	Uid           string `json:"uid,omitempty"`
	LoginType     int32  `json:"type,omitempty"`
	ExpireMinutes int    `json:"expire,omitempty"`
}

Jump to

Keyboard shortcuts

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