Documentation ¶
Index ¶
- func AppHistory(c echo.Context) error
- func AppList(c echo.Context) error
- func CreateApp(c echo.Context) error
- func CreateGroup(c echo.Context) error
- func CreatePolicy(c echo.Context) error
- func DeleteApp(c echo.Context) error
- func DeleteGroup(c echo.Context) error
- func DeletePolicy(c echo.Context) error
- func EditApp(c echo.Context) error
- func EditGroup(c echo.Context) error
- func EditPolicy(c echo.Context) error
- func History(c echo.Context) error
- func QueryGroups(c echo.Context) error
- func QueryPolicies(c echo.Context) error
- func QueryPolicy(c echo.Context) error
- type AlertHistory
- type AppAlert
- type Group
- type Policy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppHistory ¶
func CreateGroup ¶
func CreatePolicy ¶
func DeleteGroup ¶
func DeletePolicy ¶
func EditPolicy ¶
func QueryGroups ¶
func QueryPolicies ¶
func QueryPolicy ¶
Types ¶
type AlertHistory ¶
type AlertHistory struct { ID string `json:"id"` Type int `json:"tp"` AppName string `json:"app_name"` Channel string `json:"channel"` InputDate string `json:"input_date"` SqlID int `json:"sql_id"` API string `json:"api"` Alert string `json:"alert"` Value float64 `json:"value"` Users []string `json:"users"` }
type AppAlert ¶
type AppAlert struct { Name string `json:"name"` OwnerID string `json:"owner_id"` OwnerName string `json:"owner_name"` Policy string `json:"policy"` PolicyName string `json:"policy_name"` Channel string `json:"channel"` Users []string `json:"users"` UserNames []string `json:"user_names"` UpdateDate string `json:"update_date"` ApiAlerts string `json:"api_alerts"` }
Click to show internal directories.
Click to hide internal directories.