Discover Packages
github.com/shandysiswandi/echo-service
internal
infrastructure
app
middle
package
Version:
v0.0.0-...-d481519
Opens a new window with list of versions in this module.
Published: May 4, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func CORS() echo.MiddlewareFunc
func HTTPCustomError(e error , c echo.Context)
func Logger() echo.MiddlewareFunc
type JWTClaim struct {
jwtlib .StandardClaims
SessID int `json:"sess_id"`
User UserJWT `json:"user"`
Lang interface{} `json:"lang"`
SessionSetting int `json:"session_setting"`
}
type UserJWT struct {
ID int `json:"id"`
Email string `json:"email"`
CompanyID int `json:"company_id"`
UserCompanyID int `json:"user_company_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.