chore: formating
This commit is contained in:
parent
aeeeaa9e49
commit
80d92542dc
44
cfgsrv.go
44
cfgsrv.go
@ -45,17 +45,17 @@ type Config struct {
|
||||
InvitationsPath string `yaml:"invitationsPath" json:"invitationsPath"`
|
||||
RecoveryTime int `yaml:"recoveryTime" json:"recoveryTime"`
|
||||
UseAuthz bool `yaml:"useAuthz" json:"useAuthz"`
|
||||
AuthzModel string `yaml:"authzModel" json:"authzModel"`
|
||||
AuthzPolicy string `yaml:"authzPolicy" json:"authzPolicy"`
|
||||
AuthzModel string `yaml:"authzModel" json:"authzModel"`
|
||||
AuthzPolicy string `yaml:"authzPolicy" json:"authzPolicy"`
|
||||
AdminRole string `yaml:"adminRole" json:"adminRole"`
|
||||
IdentityKey string `yaml:"identityKey" json:"identityKey"`
|
||||
UsersStore DataStore `yaml:"usersStore" json:"usersStore"`
|
||||
RootAuthGroup string `yaml:"rootAuthGroup" json:"rootAuthGroup"`
|
||||
Routes map[string]RouteItem `yaml:"routes" json:"routes"`
|
||||
TemplatesRoot string `yaml:"templatesRoot" json:"templatesRoot"`
|
||||
TemplatesExt string `yaml:"templatesExt" json:"templatesExt"`
|
||||
TemplatesIncludes string `yaml:"templatesIncludes" json:"templatesIncludes"`
|
||||
TemplatesLayouts string `yaml:"templatesLayouts" json:"templatesLayouts"`
|
||||
Routes map[string]RouteItem `yaml:"routes" json:"routes"`
|
||||
TemplatesRoot string `yaml:"templatesRoot" json:"templatesRoot"`
|
||||
TemplatesExt string `yaml:"templatesExt" json:"templatesExt"`
|
||||
TemplatesIncludes string `yaml:"templatesIncludes" json:"templatesIncludes"`
|
||||
TemplatesLayouts string `yaml:"templatesLayouts" json:"templatesLayouts"`
|
||||
TemplatesFiles map[string]TemplateItem `yaml:"templatesFiles" json:"templatesFiles"`
|
||||
AssetsPath string `yaml:"assetsPath" json:"assetsPath"`
|
||||
AssetsURL string `yaml:"assetsURL" json:"assetsURL"`
|
||||
@ -72,24 +72,24 @@ type Config struct {
|
||||
MainLang string `yaml:"mainLang" json:"mainLang"`
|
||||
Langs []string `yaml:"langs" json:"langs"`
|
||||
DebugLevel int `yaml:"debugLevel" json:"debugLevel"`
|
||||
UseRepo bool `yaml:"useRepo" json:"useRepo"`
|
||||
UseRepoOnReq bool `yaml:"useRepoOnReq" json:"useRepoOnReq"`
|
||||
RepoPath string `yaml:"repoPath" json:"repoPath"`
|
||||
RepoName string `yaml:"repoName" json:"repoName"`
|
||||
RepoCommit string `yaml:"repoCommit" json:"repoCommit"`
|
||||
UseRepo bool `yaml:"useRepo" json:"useRepo"`
|
||||
UseRepoOnReq bool `yaml:"useRepoOnReq" json:"useRepoOnReq"`
|
||||
RepoPath string `yaml:"repoPath" json:"repoPath"`
|
||||
RepoName string `yaml:"repoName" json:"repoName"`
|
||||
RepoCommit string `yaml:"repoCommit" json:"repoCommit"`
|
||||
BackgGit bool `yaml:"backgGit" json:"backgGit"`
|
||||
QuietGit bool `yaml:"quietGit" json:"quietGit"`
|
||||
MailHost string `yaml:"mailHost" json:"mailHost"`
|
||||
MailPort int `yaml:"mailPort" json:"mailPort"`
|
||||
MailFrom string `yaml:"mailFrom" json:"mailFrom"`
|
||||
MailUser string `yaml:"mailUser" json:"mailUser"`
|
||||
MailPswd string `yaml:"mailPswd" json:"mailPswd"`
|
||||
MailCertPath string `yaml:"mailCertPath" json:"mailCertPath"`
|
||||
MailCertDom string `yaml:"mailCertDom" json:"mailCertDom"`
|
||||
TplsMailPath string `yaml:"tplsMailPath" json:"tplsMailPath"`
|
||||
TplsMail map[string]MailTemplateItem `yaml:"tplsMail" json:"tplsMail"`
|
||||
MailHost string `yaml:"mailHost" json:"mailHost"`
|
||||
MailPort int `yaml:"mailPort" json:"mailPort"`
|
||||
MailFrom string `yaml:"mailFrom" json:"mailFrom"`
|
||||
MailUser string `yaml:"mailUser" json:"mailUser"`
|
||||
MailPswd string `yaml:"mailPswd" json:"mailPswd"`
|
||||
MailCertPath string `yaml:"mailCertPath" json:"mailCertPath"`
|
||||
MailCertDom string `yaml:"mailCertDom" json:"mailCertDom"`
|
||||
TplsMailPath string `yaml:"tplsMailPath" json:"tplsMailPath"`
|
||||
TplsMail map[string]MailTemplateItem `yaml:"tplsMail" json:"tplsMail"`
|
||||
OpenBrowser bool `yaml:"openBrowser" json:"openBrowser"`
|
||||
RedisHost string `yaml:"redisHost" json:"redisHost"`
|
||||
RedisHost string `yaml:"redisHost" json:"redisHost"`
|
||||
RedisPort int `yaml:"redisPort" json:"redisPort"`
|
||||
RedisDB string `yaml:"redisDB" json:"redisDB"`
|
||||
RedisPswd string `yaml:"redisPswd" json:"redisPswd"`
|
||||
|
Loading…
Reference in New Issue
Block a user