Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(next HandlerFunc) echo.HandlerFunc
Types ¶
type HandlerFunc ¶
type JSONResult ¶
type JSONResult struct { Code int `json:"code"` Message string `json:"msg"` Data interface{} `json:"data"` }
JSONResult json
type Pagination ¶
type Pagination struct { Total int `json:"total"` CurrentPage int `json:"current_page"` // current page }
Pagination
Click to show internal directories.
Click to hide internal directories.