fileserver

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

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

Go to latest
Published: Feb 21, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constructor

type Constructor func(root string, params Params) Server

type Factory

type Factory map[string]Constructor

func (Factory) New

func (f Factory) New(root string, typ string, params Params) Server

func (Factory) Register

func (f Factory) Register(name string, constructor Constructor) error

func (Factory) Types

func (f Factory) Types() []string

type Params

type Params map[string]string

type Server

type Server interface {
	http.Handler
	Root() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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