Documentation ¶
Overview ¶
Package v4cdn provides Swagger UI v4 via CDN.
Index ¶
Constants ¶
View Source
const ( // AssetsBase is a base URL for the assets. AssetsBase = "https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.1/" // FaviconBase is a base URL for favicons. FaviconBase = "https://petstore.swagger.io/" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
Handler handle swagger UI request.
func NewHandler ¶
NewHandler creates HTTP handler for Swagger UI.
func NewHandlerWithConfig ¶
NewHandlerWithConfig creates HTTP handler for Swagger UI.
Click to show internal directories.
Click to hide internal directories.