Documentation
¶
Overview ¶
Package handler ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Healthz ¶
Healthz ...
@Summary 提供服务健康状态
@Tags basic
@Param token query string true "healthz api token"
@Success 200 {object} serializer.HealthzResponse
@Router /healthz [get]
func Language ¶
Language ...
@Summary 修改语言 @Tags basic @Success 204 "No Content" @Router /language [put]
func Metrics ¶
func Metrics()
Metrics ...
@Summary Prometheus 指标
@Tags basic
@Produce text/plain
@Param token query string true "metrics api token"
@Success 200 {string} string metrics
@Router /metrics [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.