Documentation
¶
Index ¶
- func BindValidate(c echo.Context, i interface{}) error
- func GetCookie(c echo.Context, name string) string
- func GetReqBody(c echo.Context) []byte
- func GetUserLang(c echo.Context) string
- func HelloWorld(c echo.Context) error
- func IsURLOrDataURI(fl validator.FieldLevel) bool
- func Ping(c echo.Context) error
- type Error
- type JSON
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindValidate ¶
func BindValidate(c echo.Context, i interface{}) error
BindValidate is bind validate
Types ¶
type Error ¶
type Error struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"-"`
}
Error is error
Click to show internal directories.
Click to hide internal directories.