Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type Application ¶
type Application struct { Cf *AppConf Db *youdb.DB Sc *securecookie.SecureCookie }
func (*Application) Close ¶
func (app *Application) Close()
type SiteConf ¶
type SiteConf struct { GoVersion string MD5Sums string Name string Desc string AdminEmail string MainDomain string // 上传图片后添加网址前缀, eg: http://domian.com 、http://234.21.35.89:8082 MainNodeIds string MustLoginNodeIds string NotHomeNodeIds string ProverbId string AvatarMinId int AvatarMaxId int HomeNode string AdminBotId int AnonymousBotId int TimeZone int HomeShowNum int PageShowNum int TagShowNum int CategoryShowNum int TitleMaxLen int ContentMaxLen int PostInterval int CommentListNum int CommentInterval int Authorized bool RegReview bool CloseReg bool AutoDataBackup bool ResetCookieKey bool AutoGetTag bool GetTagApi string UploadSuffix string UploadImgOnly bool UploadImgResize bool UploadMaxSize int UploadMaxSizeByte int64 }
Click to show internal directories.
Click to hide internal directories.