Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseSetting = &Database{}
View Source
var ImageSetting = &Image{}
View Source
var RedisSetting = &Redis{}
View Source
var ServerSetting = &Server{}
View Source
var SmtpSetting = &Smtp{}
Functions ¶
func UpdateItemValue ¶
func UpdateItemValue(section, key, value string)
Types ¶
type Server ¶
type Server struct { RunMode string HttpPort int ReadTimeout time.Duration WriteTimeout time.Duration LogPath string PageSize int JwtSecret string ViewUrl string UploadUrl string UploadPath string LogoMobileUrl string LogoPcUrl string LogoWaterUrl string Sitename string Sitebrief string Siteseoword string Timezone string Lang string Runlevel int RunlevelReason string CookieDomain string CookiePath string PostlistPagesize int CacheThreadListPages int OnlineUpdateSpan int OnlineHoldTime time.Duration SessionDelayUpdate int UploadImageWidth int OrderDefault string AttachDirSaveRule string UpdateViewsOn int UserCreateEmailOn int UserCreateOn int UserResetpwOn int AdminBindIp int CdnOn int UrlRewriteOn int DisabledPlugin int Version string StaticVersion string Installed int RuntimeRootPath string LogSavePath string LogSaveName string TimeFormat string LogFileExt string }
Click to show internal directories.
Click to hide internal directories.