package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 5, 2026
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
¶
WithUI configures the handler to use RapiDoc, loading assets from CDN.
An optional config.RapiDoc value may be passed to customise the UI behaviour.
type Data struct {
Title string `json:"title"`
OpenAPIURL string `json:"openapiURL"`
Logo string `json:"logo"`
}
type Handler struct {
Data
}
NewHandler returns a HTTP handler for swagger UI.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.