api

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticServer

type StaticServer struct {
	Root            http.Dir
	FallbackHandler http.Handler
}

func NewSFS

func NewSFS(root http.Dir, fallback http.HandlerFunc) *StaticServer

func (StaticServer) ServeHTTP

func (fs StaticServer) 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