Discover Packages
github.com/smc181002/go-jwt-http-chi
middlewares
package
Version:
v0.0.0-...-870aec1
Opens a new window with list of versions in this module.
Published: Nov 15, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Chi by default doesnt show message for 405 error text
This middleware checks the gloobal router context and
displays an error message of "Method not Allowed"
type UserDataClaims struct {
Uname string `json:"uname"`
jwt.StandardClaims
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.