api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AboutHandler

func AboutHandler(c *gin.Context)

@Summary 关于 @Description 关于 @Tags 管理 @Accept plain @Produce json @Success 200 {string} model.AboutResponse @router /log-beetle/v1/about [get]

func HomeHandler

func HomeHandler(c *gin.Context)

@Summary 首页 @Description 首页 @Tags 管理 @Accept plain @Produce plain @Success 200 {object} model.AboutResponse @router /log-beetle/v1/ [get]

func PingHandler

func PingHandler(c *gin.Context)

@Summary ping @Description ping @Tags 管理 @Accept plain @Produce plain @Success 200 {string} string @router /log-beetle/v1/ping [get]

func SendMessageHandler

func SendMessageHandler(c *gin.Context)

@Summary 发送消息 @Description 发送消息到nsq @Tags 消息管理 @Accept x-www-form-urlencoded @Produce json

@Param			message			formData		string		true	"message"
@Param			project_name	formData		string		true	"project_name"

@Success 200 {object} model.JSONResult @router /log-beetle/v1/send-message [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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