Documentation ¶
Index ¶
- func CustomWrapHandler(config *Config, h *webdav.Handler) gin.HandlerFunc
- func DeepLinking(deepLinking bool) func(c *Config)
- func DisablingCustomWrapHandler(config *Config, h *webdav.Handler, envName string) gin.HandlerFunc
- func DisablingWrapHandler(h *webdav.Handler, envName string) gin.HandlerFunc
- func URL(url string) func(c *Config)
- func WrapHandler(h *webdav.Handler, confs ...func(c *Config)) gin.HandlerFunc
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomWrapHandler ¶ added in v1.3.2
func CustomWrapHandler(config *Config, h *webdav.Handler) gin.HandlerFunc
CustomWrapHandler wraps `http.Handler` into `gin.HandlerFunc`
func DeepLinking ¶ added in v1.3.2
DeepLinking set the swagger deeplinking configuration
func DisablingCustomWrapHandler ¶ added in v1.3.2
DisablingCustomWrapHandler turn handler off if specified environment variable passed
func DisablingWrapHandler ¶ added in v1.3.2
func DisablingWrapHandler(h *webdav.Handler, envName string) gin.HandlerFunc
DisablingWrapHandler turn handler off if specified environment variable passed
func URL ¶ added in v1.3.2
URL presents the url pointing to API definition (normally swagger.json or swagger.yaml).
func WrapHandler ¶
func WrapHandler(h *webdav.Handler, confs ...func(c *Config)) gin.HandlerFunc
WrapHandler wraps `http.Handler` into `gin.HandlerFunc`.
Types ¶
Click to show internal directories.
Click to hide internal directories.