Load config from disk|url, create incidents

- Resolve incidents after the monitor is up
- Example configuration
- Updated readme
This commit is contained in:
Matej Kramny
2015-03-18 22:58:45 +01:00
parent 44a9cf905f
commit 42237e9c86
9 changed files with 130 additions and 49 deletions

View File

@@ -2,7 +2,5 @@ package cachet
import "os"
// apiUrl -> https://demo.cachethq.io/api
// apiToken -> qwertyuiop
var apiUrl = os.Getenv("CACHET_API")
var apiToken = os.Getenv("CACHET_TOKEN")
var ApiUrl = os.Getenv("CACHET_API")
var ApiToken = os.Getenv("CACHET_TOKEN")