Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
*lokilog.LogHandler
}
func (*EventHandler) Event ¶
func (l *EventHandler) Event(c *gin.Context)
QueryRange 获取事件 @Tags Event @Summary 获取事件 @Description 获取事件 @Accept json @Produce json @Param cluster path string true "cluster_name" @Param query query string true "query" @Param limit query int false "limit" @Param start query string false "start" @Param end query string false "end" @Success 200 {object} handlers.ResponseStruct{Data=string} "QueryRange" @Router /v1/event/{cluster} [get] @Security JWT
func (*EventHandler) RegistRouter ¶
func (h *EventHandler) RegistRouter(rg *gin.RouterGroup)