Documentation ¶
Index ¶
- func Can(param string, rules []string, userId string) bool
- func CheckAuth(h fasthttp.RequestHandler) fasthttp.RequestHandler
- func CheckPermissions(h fasthttp.RequestHandler) fasthttp.RequestHandler
- func DetectUser(next http.Handler) http.Handler
- func EnableCorsHeader(next http.Handler) http.Handler
- func Satisfy(param interface{}, rules []string, paramType string) bool
- func ValidateRequest(h fasthttp.RequestHandler) fasthttp.RequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAuth ¶
func CheckAuth(h fasthttp.RequestHandler) fasthttp.RequestHandler
func CheckPermissions ¶
func CheckPermissions(h fasthttp.RequestHandler) fasthttp.RequestHandler
func ValidateRequest ¶
func ValidateRequest(h fasthttp.RequestHandler) fasthttp.RequestHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.