Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartService ¶
func StartService()
Types ¶
type FeishuNotifier ¶
func NewFeishuNotifier ¶
func NewFeishuNotifier(appId, appSecret string) (*FeishuNotifier, error)
func (*FeishuNotifier) Send ¶
func (fs *FeishuNotifier) Send(ctx context.Context, body jsonutils.JSONObject) error
type PrometheusAlert ¶
type PrometheusRequest ¶
type PrometheusRequest struct { Status string `json:"status"` ExternalURL string `json:"externalURL"` Alerts []PrometheusAlert `json:"alert"` }
Click to show internal directories.
Click to hide internal directories.