Documentation ¶
Index ¶
- type Route
- func Any(path string, handlers ...gin.HandlerFunc) Route
- func Connect(path string, handlers ...gin.HandlerFunc) Route
- func Delete(path string, handlers ...gin.HandlerFunc) Route
- func Get(path string, handlers ...gin.HandlerFunc) Route
- func GetAndPost(path string, handlers ...gin.HandlerFunc) Route
- func Head(path string, handlers ...gin.HandlerFunc) Route
- func New(method string, path string, handlers ...gin.HandlerFunc) Route
- func Options(path string, handlers ...gin.HandlerFunc) Route
- func Patch(path string, handlers ...gin.HandlerFunc) Route
- func Post(path string, handlers ...gin.HandlerFunc) Route
- func Put(path string, handlers ...gin.HandlerFunc) Route
- func Trace(path string, handlers ...gin.HandlerFunc) Route
- type RouteInfo
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
Route 路由
func GetAndPost ¶
func GetAndPost(path string, handlers ...gin.HandlerFunc) Route
Click to show internal directories.
Click to hide internal directories.