Documentation
¶
Index ¶
Constants ¶
View Source
const (
// AlertDetailPath is the path of the alert details
AlertDetailPath = "/alert/detail/"
)
View Source
const (
// FilesPath is the path for files
FilesPath = "/files/"
)
View Source
const (
// IncidentDetailPath is the path of the incitedent details
IncidentDetailPath = "/incident/detail/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonData ¶ added in v0.16.3
type CommonData struct {
Title string
TitleImage string
Baseurl string
Version string
Query string
AutoReload int
Theme string
DatePicker datepicker
}
func (CommonData) Since ¶ added in v0.16.3
func (CommonData) Since(t db.MinMaxTime) time.Duration
type Conn ¶ added in v0.17.1
type Conn struct {
Cid int `json:"cid"`
Kind string `json:"kind"`
Type string `json:"type"`
IP string `json:"ip"`
Port int `json:"port"`
Start time.Time `json:"start"`
LastActivity time.Time `json:"last_activity"`
Rtt string `json:"rtt"`
Uptime string `json:"uptime"`
Idle string `json:"idle"`
PendingBytes int `json:"pending_bytes"`
InMsgs int `json:"in_msgs"`
OutMsgs int `json:"out_msgs"`
InBytes int `json:"in_bytes"`
OutBytes int `json:"out_bytes"`
Subscriptions int `json:"subscriptions"`
SubscriptionsListDetail []struct {
Subject string `json:"subject"`
Sid string `json:"sid"`
Msgs int `json:"msgs"`
Cid int `json:"cid"`
} `json:"subscriptions_list_detail"`
Name string `json:"name"`
Lang string `json:"lang"`
Version string `json:"version"`
}
type OverviewAPIResonse ¶ added in v0.16.3
type OverviewAPIResonse struct {
*CommonData
PromURL string
Szenarios []SzenarioAPIResponse
}
type SzenarioAPIResponse ¶ added in v0.16.3
Source Files
¶
- cleanup.go
- common.go
- data_status.go
- datepicker.go
- error.go
- handle_alert_detail.go
- handle_alert_list.go
- handle_bus_info.go
- handle_files.go
- handle_graphiql.go
- handle_incident_detail.go
- handle_incident_list.go
- handle_szenario_components.go
- handle_topology.go
- handler_docu.go
- handler_index.go
- paging.go
- render.go
- routes_som.go
- webstatus.go
Click to show internal directories.
Click to hide internal directories.