Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WrapHandler = EchoWrapHandler()
WrapHandler wraps swaggerFiles.Handler and returns echo.HandlerFunc
Functions ¶
func EchoWrapHandler ¶
func EchoWrapHandler(confs ...func(c *Config)) echo.HandlerFunc
EchoWrapHandler wraps `http.Handler` into `echo.HandlerFunc`.
Types ¶
type Config ¶
type Config struct {
// The url pointing to API definition (normally swagger.json or swagger.yaml). Default is `doc.json`.
URL string
// The information for OAuth2 integration, if any.
OAuth *OAuthConfig
}
Config stores echoSwagger configuration variables.
type OAuthConfig ¶
Click to show internal directories.
Click to hide internal directories.
