mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-09-20 06:24:14 +00:00
Send hipchat message on startup (if configured). (#179)
+ If a valid hipchat configuration is provided, send a message when Red October has restarted. + If persistence is inactive, alert the channel that this is the case.
This commit is contained in:
+3
-1
@@ -39,10 +39,12 @@ type UI struct {
|
||||
Static string `json:"static"`
|
||||
}
|
||||
|
||||
// HipChat contains the settings for Hipchat integration.
|
||||
// HipChat contains the settings for Hipchat integration. The ID is
|
||||
// the name that should be used in the startup message.
|
||||
type HipChat struct {
|
||||
Host string `json:"host"`
|
||||
Room string `json:"room"`
|
||||
ID string `json:"id"`
|
||||
APIKey string `json:"api_key"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user