package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Aug 12, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IndexTpl creates page template.
type Data struct {
Title string `json:"title"`
OpenAPIURL string `json:"openapiURL"`
HideCurl bool `json:"hideCurl"`
JsonEditor bool `json:"jsonEditor"`
UIConfig map[string]string `json:"-"`
}
Handler handles swagger UI request.
NewHandler returns a HTTP handler for swagger UI.
ServeHTTP implements http.Handler interface to handle swagger UI request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.