controller

package
v0.0.0-...-842a331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: LGPL-2.1 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertToFeishuCustombot

func AlertToFeishuCustombot(c *gin.Context)

AlertToFeishuCustombot Alertmanger转发到飞书的自定义机器人 @Summary Alertmanger转发到飞书的自定义机器人 @Description 支持转发到飞书群的自定义机器人,使用富文本信息 @Tags Alertmanager转发用 @Accept application/json @Produce application/json @Param feishu query string false "对应飞书配置的key" @Success 200 {object} _ResponsePostList @Router /alert/v1/alertmanager [post]

func CommAlertToFeishuCustombot

func CommAlertToFeishuCustombot(c *gin.Context)

CommAlertToFeishuCustombot 通用接口转发到飞书的自定义机器人 @Summary 通用接口转发到飞书的自定义机器人 @Description 支持转发到飞书群的自定义机器人,使用富文本信息 @Tags 通用接口转发用 @Accept application/json @Produce application/json @Param feishu query string false "对应飞书配置的key" @Success 200 {object} _ResponsePostList @Router /alert/v1/comm [post]

func GrafanaToFeishuCustombot

func GrafanaToFeishuCustombot(c *gin.Context)

GrafanaToFeishuCustombot Grafana转发到飞书的自定义机器人 @Summary Grafana转发到飞书的自定义机器人 @Description 支持转发到飞书群的自定义机器人,使用富文本信息 @Tags Grafana转发用 @Accept application/json @Produce application/json @Param feishu query string false "对应飞书配置的key" @Success 200 {object} _ResponsePostList @Router /alert/v1/grafana [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL