project interface

This commit is contained in:
asoseil 2017-11-20 16:47:20 +01:00
parent 813f4303ed
commit c3cacd76ab
1 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,10 @@ type BufferOut struct {
Errors []string `json:"errors"` 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) Restart(FileWatcher,string,<-chan bool)
} }