huge refactor
- extendable backends - better project structure - better cli interface
This commit is contained in:
14
backends/cachet/component.go
Normal file
14
backends/cachet/component.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package cachetbackend
|
||||
|
||||
// Incident Cachet data model
|
||||
type Component struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Message string `json:"message"`
|
||||
Status int `json:"status"`
|
||||
Visible int `json:"visible"`
|
||||
Notify bool `json:"notify"`
|
||||
|
||||
ComponentID int `json:"component_id"`
|
||||
ComponentStatus int `json:"component_status"`
|
||||
}
|
||||
Reference in New Issue
Block a user