handlers

package
v0.0.0-...-13dad8c Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticHandler

type StaticHandler struct {
	// contains filtered or unexported fields
}

StaticHandler provides a middleware handler which serves the swagger UI

func NewStaticHandler

func NewStaticHandler(dir string, handler http.Handler) *StaticHandler

NewStaticHandler creates a new middleware handler which serves the swagger UI

func (*StaticHandler) ServeHTTP

func (s *StaticHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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