Documentation ¶
Overview ¶
Package swaggerui provides Handlers for serving the swagger UI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServeMux ¶
NewServeMux creates a new http.ServeMux which serves the swagger ui and json with the default root "/".
Types ¶
type AssetFn ¶
AssetFn is a function handler which returns the swagger.json bytes. Used to instantiate handler with swagger.json.
func AssetFnFromBytes ¶
AssetFnFromBytes should recieve swagger json file bytes and returns an AssetFn to use with NewServeMux.
Click to show internal directories.
Click to hide internal directories.