base

package
v0.0.0-...-d124ba8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem interface {
	Open(name string) (ServingFile, error)
}

FileSystem Base interface for FileSystem

type ServingFile

type ServingFile interface {
	http.File
	Serve(w http.ResponseWriter, r *http.Request)
}

ServingFile http.File with an additional Method to serve

Jump to

Keyboard shortcuts

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