Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Build infos added by -ldflags BuildTime string BuildGitHash string AppVer string AppPath string AppName string AppURL string AppSubURL string AppSubURLDepth int // Number of slashes CanRegister bool AnonymousCreate bool ProdMode bool // Cron tasks Cron struct { RepoArchiveCleanup struct { Enabled bool RunAtStart bool Schedule string OlderThan time.Duration } `ini:"cron.repo_archive_cleanup"` } Protocol Scheme UnixSocketPermission uint32 Domain string HTTPAddr string HTTPPort string DisableRouterLog bool StaticRootPath string HTTP struct { AccessControlAllowOrigin string } UseSQLite3 bool UseMySQL bool UsePostgreSQL bool UseMSSQL bool CustomConf string IsWindows bool Cfg *ini.File HasRobotsTxt bool RobotsTxtPath string LogRootPath string LogModes []string LogConfigs []interface{} RepositoryRoot string DisableHTTPGit bool GitBinary string SessionConfig session.Options CSRFCookieName string InstallLock bool SecretKey string LoginRememberDays int CookieUserName string CookieRememberName string CookieSecure bool EnableLoginStatusCookie bool LoginStatusCookieName string CacheAdapter string CacheInterval int CacheConn string // Langs settings Langs []string Names []string // Markdown sttings Markdown struct { EnableHardLineBreak bool CustomURLSchemes []string `ini:"CUSTOM_URL_SCHEMES"` FileExtensions []string } // Smartypants settings Smartypants struct { Enabled bool Fractions bool Dashes bool LatexDashes bool AngledQuotes bool } // Bloby struct for static limitations Bloby struct { MaxSizeDisplay int64 MaxPageDisplay int64 MaxRawSize int64 } )
Settings
Functions ¶
Types ¶
type Mailer ¶
type Mailer struct { QueueLength int Subject string Host string From string FromEmail string User, Passwd string DisableHelo bool HeloHostname string SkipVerify bool UseCertificate bool CertFile, KeyFile string UsePlainText bool }
Mailer represents mail service.
var ( // MailService Mailer MailService *Mailer )
Click to show internal directories.
Click to hide internal directories.