Documentation
¶
Index ¶
- func Bind(c echo.Context, s interface{}) error
- func BindBody(c echo.Context, s interface{}) error
- func BindHeader(c echo.Context, s interface{}) error
- func BindPath(c echo.Context, s interface{}) error
- func BindQuery(c echo.Context, s interface{}) error
- func CopySlice[S, D any](src []S) []D
- func Email(v, want interface{}) bool
- func Fixed(v, want interface{}) bool
- func GenToken(jcc JwtCustomClaims) (string, error)
- func InitValidator(e *echo.Echo)
- func Max(v, want interface{}) bool
- func Min(v, want interface{}) bool
- func NewValidator(e *echo.Echo) *validator
- func ParseJsonFile(path string, dest any) error
- func ParseJsonString(sr string, dest any) error
- func ParseYamlFile(path string, dest any) error
- func ParseYamlString(sr string, dest any) error
- func Request(v, want interface{}) bool
- func UUID(v, want interface{}) bool
- type Copier
- type JwtClaim
- type JwtCustomClaims
- type Rule
- type RuleFunc
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindHeader ¶
func GenToken ¶
func GenToken(jcc JwtCustomClaims) (string, error)
func InitValidator ¶
func NewValidator ¶
func ParseJsonFile ¶
func ParseJsonString ¶
func ParseYamlFile ¶
func ParseYamlString ¶
Types ¶
type JwtCustomClaims ¶
Click to show internal directories.
Click to hide internal directories.