Versions in this module Expand all Collapse all v1 v1.0.2 Oct 19, 2018 Changes in this version + const AuthMethodLDAP + const AuthMethodLocal + const BookAdmin + const BookEditor + const BookFounder + const BookObserver + const CaptchaSessionName + const LoggerDocument + const LoggerException + const LoggerOperate + const LoggerSystem + const LoginSessionName + const MemberAdminRole + const MemberGeneralRole + const MemberSuperRole + const PageSize + const RegexpAccount + const RegexpEmail + var AutoLoadDelay = 0 + var BUILD_TIME string + var BaseUrl = "" + var ConfigurationFile = "./conf/app.conf" + var GO_VERSION string + var LogFile = "./runtime/logs" + var VERSION string + var WorkingDirectory = "./" + func GetAppKey() string + func GetDatabasePrefix() string + func GetDefaultAvatar() string + func GetDefaultCover() string + func GetEnableExport() bool + func GetExportLimitNum() int + func GetExportOutputPath() string + func GetExportProcessNum() int + func GetExportQueueLimitNum() int + func GetTokenSize() int + func GetUploadFileExt() []string + func GetUploadFileSize() int64 + func IsAllowUploadFileExt(ext string) bool + func URLFor(endpoint string, values ...interface{}) string + func URLForWithCdnCss(p string, v ...string) string + func URLForWithCdnImage(p string) string + func URLForWithCdnJs(p string, v ...string) string + func WorkingDir(elem ...string) string + type SmtpConf struct + EnableMail bool + FormUserName string + MailExpired int + MailNumber int + Secure string + SmtpHost string + SmtpPassword string + SmtpPort int + SmtpUserName string + func GetMailConfig() *SmtpConf Incompatible versions in this module v2.0.1+incompatible Nov 27, 2018