48 lines
956 B
Go
48 lines
956 B
Go
package config
|
|
|
|
type userConfig struct {
|
|
SiteName string `json:"siteName"`
|
|
|
|
Author string `json:"author"`
|
|
|
|
Qq string `json:"qq"`
|
|
|
|
Icp string `json:"icp"`
|
|
|
|
TimeLayout string `json:"timeLayout"`
|
|
|
|
Port int `json:"port"`
|
|
|
|
WebHookSecret string `json:"webHookSecret"`
|
|
|
|
CategoryDisplayQuantity int `json:"categoryDisplayQuantity"`
|
|
|
|
UtterancesRepo string `json:"utterancesRepo"`
|
|
|
|
Gitalk_ClientID string `json:"gitalk_clientID"`
|
|
|
|
Gitalk_ClientSecret string `json:"gitalk_clientSecret"`
|
|
|
|
Gitalk_Repo string `json:"gitalk_repo"`
|
|
|
|
Gitalk_Owner string `json:"gitalk_owner"`
|
|
|
|
PageSize int `json:"pageSize"`
|
|
|
|
DescriptionLen int `json:"descriptionLen"`
|
|
|
|
DocumentGitUrl string `json:"documentGitUrl"`
|
|
|
|
HtmlKeywords string `json:"htmlKeywords"`
|
|
|
|
HtmlDescription string `json:"htmlDescription"`
|
|
|
|
ThemePath string `json:"themePath"`
|
|
|
|
ThemeColor string `json:"themeColor"`
|
|
|
|
ThemeOption []string `json:"themeOption"`
|
|
|
|
Dashboard string `json:"dashboard"`
|
|
}
|