common

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientHandler

func GetClientHandler(service platform.Service) app.HandlerFunc

GetClientHandler documents Get Client.

@Summary Get Client @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetSubscribeClientResponse} @Router /v1/common/client [get]

func GetGlobalConfigHandler

func GetGlobalConfigHandler(service platform.Service) app.HandlerFunc

GetGlobalConfigHandler documents Get global config.

@Summary Get global config @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetGlobalConfigResponse} @Router /v1/common/site/config [get]

func GetPrivacyPolicyHandler

func GetPrivacyPolicyHandler(service platform.Service) app.HandlerFunc

GetPrivacyPolicyHandler documents Get Privacy Policy.

@Summary Get Privacy Policy @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.PrivacyPolicyConfig} @Router /v1/common/site/privacy [get]

func GetStatHandler

func GetStatHandler(service platform.Service) app.HandlerFunc

GetStatHandler documents Get stat.

@Summary Get stat @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetStatResponse} @Router /v1/common/site/stat [get]

func GetTosHandler

func GetTosHandler(service platform.Service) app.HandlerFunc

GetTosHandler documents Get Tos Content.

@Summary Get Tos Content @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetTosResponse} @Router /v1/common/site/tos [get]

func HeartbeatHandler

func HeartbeatHandler(service platform.Service) app.HandlerFunc

HeartbeatHandler documents Heartbeat.

@Summary Heartbeat @Tags common @Produce json @Success 200 {object} httpx.ResponseSuccessBean{data=dto.HeartbeatResponse} @Router /v1/common/heartbeat [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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