controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
}

func (*BaseController) GetJwtKey

func (c *BaseController) GetJwtKey() string

type TokenController

type TokenController struct {
	BaseController
}

func (*TokenController) CreateToken

func (c *TokenController) CreateToken(w http.ResponseWriter, r *http.Request)

func (*TokenController) CreateTokenByRsa

func (c *TokenController) CreateTokenByRsa(w http.ResponseWriter, r *http.Request)

func (*TokenController) TestRsaToken

func (c *TokenController) TestRsaToken(w http.ResponseWriter, r *http.Request)

func (*TokenController) TestToken

func (c *TokenController) TestToken(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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