Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSwaggerUI ¶
func RegisterSwaggerUI(mux interface {
Get(string, http.HandlerFunc)
}, cfg SwaggerUIConfig)
func WriteSwaggerUIHTML ¶
func WriteSwaggerUIHTML(w io.Writer, cfg SwaggerUIConfig)
WriteSwaggerUIHTML renders the embedded Swagger UI template into the provided writer.
It intentionally does not register any routes; use RegisterSwaggerUI for that.
Types ¶
type SwaggerUIConfig ¶
Click to show internal directories.
Click to hide internal directories.