openapiui

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 8 Imported by: 1

README

openapiui

GoDoc GitHub license

Moved from github.com/wzshiming/openapi

License

Pouch is licensed under the MIT License. See LICENSE for the full license text.

Documentation

Index

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

func HandleURL(asset func(path string) ([]byte, error)) http.Handler

HandleURL Get the url address from the url parameter and modify the default address

func HandleWith

func HandleWith(f, asset func(path string) ([]byte, error)) http.Handler

HandleWith Try the contents of openapi from f

func HandleWithFile

func HandleWithFile(name string, data []byte, asset func(path string) ([]byte, error)) http.Handler

HandleWithFile Replace the openapi file path

func HandleWithFiles

func HandleWithFiles(m map[string][]byte, asset func(path string) ([]byte, error)) http.Handler

HandleWithFiles Replace the openapi file path

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL