Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHandler ¶
func GetHandler(opt ...func(*Param)) webfmwk.DocHandler
GetHandler return a DocHandler settup for redoc use of template, params expect the DocURI string.
var opts = []webfmwk.Option{
webfmwk.WithDocHandlers(redoc.GetHandler(
redoc.DocURI("/api/v2/docs/swagger.json")
)
)}
Types ¶
Click to show internal directories.
Click to hide internal directories.