Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = struct { HTTPS bool `default:"false" env:"HTTPS"` Certpath string `default:"" env:"Certpath"` Certkey string `default:"" env:"Certkey"` Port uint `default:"80" env:"PORT"` Host string `default:"" env:"Host"` Admin struct { UserName string `env:"AdminUserName" default:"username"` Name string `env:"AdminName" default:"name"` Pwd string `env:"AdminPwd" default:"123456"` RoleName string `env:"AdminRoleName" default:"superadmin_role"` RoleDisplayName string `env:"TenantRoleDisplayName" default:"商户管理员"` } DB struct { Name string `env:"DBName" default:"goirisadminapi"` Adapter string `env:"DBAdapter" default:"mysql"` Host string `env:"DBHost" default:"mysql"` Port string `env:"DBPort" default:"3306"` User string `env:"DBUser" default:"root"` Password string `env:"DBPassword" default:"123456"` } }{}
View Source
var Root = os.Getenv("GOPATH") + "/src/github.com/snowlyg/IrisAdminApi/backend/"
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.