Documentation ¶
Index ¶
- type CustomMiddleware
- func (cm *CustomMiddleware) NoCache(next echo.HandlerFunc) echo.HandlerFunc
- func (cm *CustomMiddleware) ServiceKeyCheck(next echo.HandlerFunc) echo.HandlerFunc
- func (cm *CustomMiddleware) SetRequestID(next echo.HandlerFunc) echo.HandlerFunc
- func (cm *CustomMiddleware) SetRouteList(routes []*echo.Route) map[string]map[string]string
- func (cm *CustomMiddleware) SignatureCheck(next echo.HandlerFunc) echo.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomMiddleware ¶
type CustomMiddleware struct { Config *configs.Config Application *applications.Application RouteList map[string]map[string]string }
func NewCustomMiddleware ¶
func NewCustomMiddleware(cfg *configs.Config, app *applications.Application) *CustomMiddleware
func (*CustomMiddleware) NoCache ¶
func (cm *CustomMiddleware) NoCache(next echo.HandlerFunc) echo.HandlerFunc
func (*CustomMiddleware) ServiceKeyCheck ¶
func (cm *CustomMiddleware) ServiceKeyCheck(next echo.HandlerFunc) echo.HandlerFunc
func (*CustomMiddleware) SetRequestID ¶
func (cm *CustomMiddleware) SetRequestID(next echo.HandlerFunc) echo.HandlerFunc
func (*CustomMiddleware) SetRouteList ¶
func (cm *CustomMiddleware) SetRouteList(routes []*echo.Route) map[string]map[string]string
func (*CustomMiddleware) SignatureCheck ¶
func (cm *CustomMiddleware) SignatureCheck(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.