v3cdn

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

View Source
const (
	AssetsBase  = "https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.43.0/"
	FaviconBase = "https://petstore.swagger.io/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler = internal.Handler

Handler handle swagger UI request

func NewHandler

func NewHandler(title, swaggerJSONPath string, basePath string) *Handler

NewHandler returns a HTTP handler for swagger UI

func NewHandlerWithConfig

func NewHandlerWithConfig(config swgui.Config) *Handler

NewHandlerWithConfig returns a HTTP handler for swagger UI

Jump to

Keyboard shortcuts

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