Documentation ¶
Index ¶
- func ApiHandler(c *Context) error
- func JWTTesterHandler(c echo.Context) error
- func JsonEncodeHandler(c *Context) error
- func NewContext() echo.MiddlewareFunc
- func PostHandler(c echo.Context) error
- func PostSaveHandler(c echo.Context) error
- func PostsHandler(c echo.Context) error
- func Routers() *echo.Echo
- func UserHandler(c echo.Context) error
- func UserLoginHandler(c echo.Context) error
- func UserRegisterHandler(c echo.Context) error
- type A
- type B
- type C
- type Context
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiHandler ¶
func JWTTesterHandler ¶
func JWTTesterHandler(c echo.Context) error
func JsonEncodeHandler ¶
func NewContext ¶
func NewContext() echo.MiddlewareFunc
func PostHandler ¶
func PostHandler(c echo.Context) error
func PostSaveHandler ¶
func PostSaveHandler(c echo.Context) error
func PostsHandler ¶
func PostsHandler(c echo.Context) error
func UserHandler ¶
func UserHandler(c echo.Context) error
func UserLoginHandler ¶
func UserLoginHandler(c echo.Context) error
func UserRegisterHandler ¶
func UserRegisterHandler(c echo.Context) error
Types ¶
type Context ¶
type Context struct {
echo.Context
}
func (*Context) CustomJSON ¶
自定义JSON解析
func (*Context) OpenTracingSpan ¶
func (ctx *Context) OpenTracingSpan() opentracing.Span
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.