Documentation ¶
Index ¶
- func CustomContextMiddleware() echo.MiddlewareFunc
- func Find(slice []string, val string) (int, bool)
- func Handle(err error)
- func JSON(code int, message string) *echo.HTTPError
- func LogErr(err error, message ...string)
- func Logger() echo.MiddlewareFunc
- func Recover() echo.MiddlewareFunc
- func UniqueInts(intSlice []int) []int
- func UniqueStrings(stringSlice []string) []string
- func UniqueUints(uintSlice []uint) []uint
- type CustomContext
- type Resp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomContextMiddleware ¶
func CustomContextMiddleware() echo.MiddlewareFunc
func Logger ¶
func Logger() echo.MiddlewareFunc
Logger is the middleware that use to log message to the stdout
func Recover ¶
func Recover() echo.MiddlewareFunc
Recover is the middleware that used to recovery frm panic
func UniqueInts ¶
func UniqueStrings ¶
func UniqueUints ¶
Types ¶
type CustomContext ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.