Documentation
¶
Index ¶
- Constants
- Variables
- func Bind(r *gin.Engine, zero any) (*gin.Engine, error)
- func Default(zero any) (*gin.Engine, error)
- func FindUseMethod(elem reflect.Value) any
- func MustBind(r *gin.Engine, zero any) *gin.Engine
- func MustDefault(zero any) *gin.Engine
- func ParseName(s string) string
- func UnsafeBind(r *gin.RouterGroup, elem reflect.Value) (err error)
- type Router
- type Scanner
Constants ¶
View Source
const ( MethodGet = "Get" MethodHead = "Head" MethodPost = "Post" MethodPut = "Put" MethodPatch = "Patch" // RFC 5789 MethodDelete = "Delete" MethodConnect = "Connect" MethodOptions = "Options" MethodTrace = "Trace" StaticFileFS = "StaticFileFS" StaticFile = "StaticFile" StaticFS = "StaticFS" Static = "Static" )
Variables ¶
View Source
var AnyMethods = []string{ MethodGet, MethodHead, MethodPost, MethodPut, MethodPatch, MethodDelete, MethodConnect, MethodOptions, MethodTrace, }
Functions ¶
func FindUseMethod ¶
func MustDefault ¶
func UnsafeBind ¶
func UnsafeBind(r *gin.RouterGroup, elem reflect.Value) (err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.