Uses narco with logging

We have a finner control of what we serve
This commit is contained in:
2016-01-25 14:23:20 +01:00
parent 624b68616e
commit c858e99d06
3 changed files with 81 additions and 43 deletions

View File

@@ -50,6 +50,11 @@ func newAppData(opts Options) (*appData, error) {
return nil, err
}
err = os.MkdirAll(filepath.Join("tmp", "log"), 0755)
if err != nil {
return nil, err
}
res := &appData{
opts: opts,
errors: make(chan error, 10),