services

package
Version: v0.0.0-...-115e584 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0, GPL-2.0, GPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArticleService = newArticleService()
View Source
var ArticleTagService = newArticleTagService()
View Source
var CheckInService = newCheckInService()
View Source
var CommentService = newCommentService()
View Source
var EmailCodeService = newEmailCodeService()
View Source
var FavoriteService = newFavoriteService()
View Source
var LinkService = newLinkService()
View Source
var MessageService = newMessageService()
View Source
var OperateLogService = newOperateLogService()
View Source
var ProjectService = newProjectService()
View Source
var SysConfigService = newSysConfigService()
View Source
var TagService = newTagService()
View Source
var ThirdAccountService = newThirdAccountService()
View Source
var TopicNodeService = newTopicNodeService()
View Source
var TopicService = newTopicService()
View Source
var TopicTagService = newTopicTagService()
View Source
var UserLikeService = newUserLikeService()
View Source
var UserScoreLogService = newUserScoreLogService()
View Source
var UserService = newUserService()
View Source
var UserTokenService = newUserTokenService()

Functions

func ClientIP

func ClientIP(r *http.Request) string

ClientIP 尽最大努力实现获取客户端 IP 的算法。 解析 X-Real-IP 和 X-Forwarded-For 以便于反向代理(nginx 或 haproxy)可以正常工作。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL