static_file

package
v0.0.0-...-ef821ae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2012 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	// File system base path for serving files
	BasePath string
	// Prefix in URL path
	PathPrefix string
}

A falcore RequestFilter for serving static files from the filesystem.

func (*Filter) FilterRequest

func (f *Filter) FilterRequest(req *falcore.Request) (res *http.Response)

Jump to

Keyboard shortcuts

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