staticfiles

package
v0.0.0-...-85a449c Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2015 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const StaticDirectories = "/static"

Variables

This section is empty.

Functions

func GetStaticfile

func GetStaticfile(path string) string

Types

type Staticfile

type Staticfile struct {
	Servedpath string
	Realpath   string
}

func GetStaticfiles

func GetStaticfiles() []Staticfile

func (Staticfile) Serve

func (file Staticfile) Serve(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Jump to

Keyboard shortcuts

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