Documentation ¶
Index ¶
- func HandleOpenapi(w http.ResponseWriter, r *http.Request)
- func HandleURL(asset func(path string) ([]byte, error)) http.Handler
- func HandleWith(f, asset func(path string) ([]byte, error)) http.Handler
- func HandleWithFile(name string, data []byte, asset func(path string) ([]byte, error)) http.Handler
- func HandleWithFiles(m map[string][]byte, asset func(path string) ([]byte, error)) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleOpenapi ¶
func HandleOpenapi(w http.ResponseWriter, r *http.Request)
HandleOpenapi Get the url address from the url parameter to combine it
func HandleURL ¶
HandleURL Get the url address from the url parameter and modify the default address
func HandleWith ¶
HandleWith Try the contents of openapi from f
func HandleWithFile ¶
HandleWithFile Replace the openapi file path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.