Versions in this module Expand all Collapse all v0 v0.10.13 Jun 5, 2019 v0.10.12 May 30, 2019 Changes in this version + func Render(sourcePath string, buildPath string, cfg *models.Config) int + func Watch(sourcePath string, buildPath string, cfg *models.Config, port int32, ...) + type ConsoleRenderer struct + func (c ConsoleRenderer) Initialise() + func (c ConsoleRenderer) Render(route *models.Route, filePath string, data jet.VarMap) (errorCount int) + type FileRenderer struct + func (c FileRenderer) Initialise() + func (c FileRenderer) Render(templatePath string, filePath string, data jet.VarMap) int + type LiveReload struct + func (live *LiveReload) GetMiddleware(next http.Handler) http.Handler + func (live *LiveReload) Handler(w http.ResponseWriter, req *http.Request) + func (live *LiveReload) StartLiveReload(port int32, fn func()) + type Prox struct + func NewProxy(target string, patterns []string) *Prox + func (p *Prox) GetMiddleware(next http.Handler) http.Handler + type WrapperResponseWriter struct + func NewWrapperResponseWriter(w http.ResponseWriter) *WrapperResponseWriter + func (w *WrapperResponseWriter) Done() (n int, err error) + func (w *WrapperResponseWriter) PrefixWithLogs(logs []string) + func (w *WrapperResponseWriter) Status() int + func (w *WrapperResponseWriter) Write(p []byte) (n int, err error) + func (w *WrapperResponseWriter) WriteHeader(code int)