eventhandler

package
v1.23.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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