fileserver

package
v0.0.0-...-6b8f167 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirPolicy

type DirPolicy int
const (
	None DirPolicy = iota
	AllowListing
	AllowArchives
)

type Handler

type Handler struct {
	Base      string
	DirPolicy DirPolicy
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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