spacing
This commit is contained in:
parent
8248c33607
commit
dc59f44322
48
README.md
48
README.md
|
@ -19,30 +19,30 @@ go run ./watchdog.go -c dog.json
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"watches": [
|
"watches": [
|
||||||
{
|
{
|
||||||
"name": "Example Site",
|
"name": "Example Site",
|
||||||
"url": "https://example.com/",
|
"url": "https://example.com/",
|
||||||
"webhooks": ["twilio"],
|
"webhooks": ["twilio"],
|
||||||
"keywords": "My Site",
|
"keywords": "My Site",
|
||||||
"recover_script": "systemctl restart example-site"
|
"recover_script": "systemctl restart example-site"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"webhooks": [
|
"webhooks": [
|
||||||
{
|
{
|
||||||
"name": "twilio",
|
"name": "twilio",
|
||||||
"url": "https://api.twilio.com/2010-04-01/Accounts/AC00000000000000000000000000000000/Messages.json",
|
"url": "https://api.twilio.com/2010-04-01/Accounts/AC00000000000000000000000000000000/Messages.json",
|
||||||
"auth": {
|
"auth": {
|
||||||
"user": "AC00000000000000000000000000000000",
|
"user": "AC00000000000000000000000000000000",
|
||||||
"pass": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
"pass": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"To": "+1 801 555 1234",
|
"To": "+1 801 555 1234",
|
||||||
"From": "+1 800 555 4321",
|
"From": "+1 800 555 4321",
|
||||||
"Body": "[{{ .Name }}] The system is down. The system is down."
|
"Body": "[{{ .Name }}] The system is down. The system is down."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue