Documentation ¶
Index ¶
Constants ¶
View Source
const ( LangEnUS = iota LangZhCN )
View Source
const (
APP_VER = "0.1.0.1114"
)
Variables ¶
View Source
var ( AppName string AppVer string AppHost string AppUrl string AppLogo string EnforceRedirect bool AvatarURL string SecretKey string IsProMode bool ActiveCodeLives int ResetPwdCodeLives int DateFormat string DateTimeFormat string DateTimeShortFormat string TimeZone string RealtimeRenderMD bool ImageSizeSmall int ImageSizeMiddle int ImageLinkAlphabets []byte ImageXSend bool ImageXSendHeader string Langs []string LoginRememberDays int LoginMaxRetries int LoginFailedBlocks int CookieRememberName string CookieUserName string // search SearchEnabled bool NativeSearch bool // sphinx search setting SphinxEnabled bool SphinxHost string SphinxIndex string SphinxMaxConn int // mail setting MailUser string MailFrom string MailHost string MailAuthUser string MailAuthPass string )
View Source
var ( // OAuth GithubClientId string GithubClientSecret string GoogleClientId string GoogleClientSecret string WeiboClientId string WeiboClientSecret string QQClientId string QQClientSecret string )
View Source
var ( // Social Auth GithubAuth *apps.Github GoogleAuth *apps.Google SocialAuth *social.SocialAuth )
View Source
var ( Cfg *goconfig.ConfigFile Cache cache.Cache Captcha *captcha.Captcha )
View Source
var ( GlobalConfPath = "conf/global/app.ini" AppConfPath = "conf/app.ini" CompressConfPath = "conf/compress.json" )
Functions ¶
func IsMatchHost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.