Documentation ¶
Index ¶
Constants ¶
View Source
const PROJECT_SETTING_FILE_PATH = ".mcube.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { PKG string `yaml:"pkg"` Name string `yaml:"name"` Description string `yaml:"description"` EnableKeyauth bool `yaml:"enable_keyauth"` Keyauth *Keyauth `yaml:"-"` EnableMySQL bool `yaml:"enable_mysql"` MySQL *MySQL `yaml:"-"` EnableMongoDB bool `yaml:"enable_mongodb"` MongoDB *MongoDB `yaml:"-"` GenExample bool `yaml:"gen_example"` EnableCache bool `yaml:"enable_cache"` // contains filtered or unexported fields }
Project todo
func LoadProjectFromYAML ¶ added in v1.6.2
func (*Project) LoadKeyauthConfig ¶ added in v1.5.8
func (*Project) LoadMongoDBConfig ¶ added in v1.5.8
func (*Project) LoadMySQLConfig ¶ added in v1.5.8
Click to show internal directories.
Click to hide internal directories.