Versions in this module Expand all Collapse all v0 v0.2.0 Jan 6, 2017 Changes in this version + func NewFileServer(h http.Handler) http.Handler + type SPAMiddleware struct + func (m *SPAMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request) v0.1.0 Oct 27, 2016 Changes in this version + const ScriptContent + func NewInjectingHandler(h http.Handler) http.Handler + type Broker struct + Messages chan string + func NewBroker() *Broker + func (b *Broker) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (b *Broker) Start() + type FileWatcher struct + Broker *Broker + Extensions []string + Handler http.Handler + Watcher chan notify.EventInfo + func NewFileWatcher(dir, ext string, h http.Handler) *FileWatcher + type InjectMiddleware struct + func (m *InjectMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request) + type TransformationFunc func(r io.Reader) (string, error)