Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(next echo.HandlerFunc) echo.HandlerFunc
Its HARD Auth if not authenticated/authorized Get the fuck Out
func SoftAuth ¶
func SoftAuth(next echo.HandlerFunc) echo.HandlerFunc
Soft Auth implement a way to identify user without kicking them out
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
Click to show internal directories.
Click to hide internal directories.