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"` HttpFramework string `yaml:"http_framework"` EnableCache bool `yaml:"enable_cache"` // contains filtered or unexported fields }
Project todo
func LoadProjectFromYAML ¶
func (*Project) LoadKeyauthConfig ¶
func (*Project) LoadMongoDBConfig ¶
func (*Project) LoadMySQLConfig ¶
Click to show internal directories.
Click to hide internal directories.