Documentation
¶
Index ¶
- func GetClientHandler(service platform.Service) app.HandlerFunc
- func GetGlobalConfigHandler(service platform.Service) app.HandlerFunc
- func GetPrivacyPolicyHandler(service platform.Service) app.HandlerFunc
- func GetStatHandler(service platform.Service) app.HandlerFunc
- func GetTosHandler(service platform.Service) app.HandlerFunc
- func HeartbeatHandler(service platform.Service) app.HandlerFunc
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} result.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} result.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} result.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} result.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} result.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} result.ResponseSuccessBean{data=dto.HeartbeatResponse} @Router /v1/common/heartbeat [get]
Types ¶
This section is empty.