From c3cacd76ab0e0ac4418a6db9baed7871a0ca8c7c Mon Sep 17 00:00:00 2001 From: asoseil Date: Mon, 20 Nov 2017 16:47:20 +0100 Subject: [PATCH] project interface --- realize/projects.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/realize/projects.go b/realize/projects.go index 58d6a41..fb8c5f0 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -75,7 +75,10 @@ type BufferOut struct { Errors []string `json:"errors"` } -type Reload interface{ +type ProjectI interface{ + Setup() + Watch(chan os.Signal) + Run(string, chan Response,<-chan bool) Restart(FileWatcher,string,<-chan bool) }