v4emb

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Overview

Package v4emb provides Swagger UI v4 with Go embed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v1.4.4

func New(title, swaggerJSONPath string, basePath string) http.Handler

New creates HTTP handler for Swagger UI.

func NewWithConfig added in v1.5.0

func NewWithConfig(config swgui.Config) func(title, swaggerJSONPath string, basePath string) http.Handler

NewWithConfig creates configurable handler constructor.

Types

type Handler

type Handler = internal.Handler

Handler handles swagger UI request.

func NewHandler

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

NewHandler creates HTTP handler for Swagger UI.

func NewHandlerWithConfig

func NewHandlerWithConfig(config swgui.Config) *Handler

NewHandlerWithConfig creates HTTP handler for Swagger UI.

Jump to

Keyboard shortcuts

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