Versions in this module Expand all Collapse all v0 v0.21.1 Nov 2, 2018 Changes in this version + const RevelMainTemplate + const RevelRoutesTemplate + const RevelRunTemplate + type App struct + BinaryPath string + Paths *model.RevelContainer + Port int + func Build(c *model.CommandConfig, paths *model.RevelContainer) (_ *App, err error) + func NewApp(binPath string, paths *model.RevelContainer) *App + func (a *App) Cmd(runMode string) AppCmd + func (a *App) Kill() + type AppCmd struct + func NewAppCmd(binPath string, port int, runMode string, paths *model.RevelContainer) AppCmd + func (cmd AppCmd) Kill() + func (cmd AppCmd) Run() + func (cmd AppCmd) Start(c *model.CommandConfig) error + type ByString []*model.TypeInfo + func (c ByString) Len() int + func (c ByString) Less(i, j int) bool + func (c ByString) Swap(i, j int) + type Harness struct + func NewHarness(c *model.CommandConfig, paths *model.RevelContainer, runMode string, ...) *Harness + func (h *Harness) Refresh() (err *utils.Error) + func (h *Harness) Run() + func (h *Harness) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *Harness) WatchDir(info os.FileInfo) bool + func (h *Harness) WatchFile(filename string) bool