auto_code.go 1.3 KB

123456789101112131415161718
  1. package config
  2. type Autocode struct {
  3. SModel string `mapstructure:"server-model" json:"server-model" yaml:"server-model"`
  4. SRouter string `mapstructure:"server-router" json:"server-router" yaml:"server-router"`
  5. Server string `mapstructure:"server" json:"server" yaml:"server"`
  6. SApi string `mapstructure:"server-api" json:"server-api" yaml:"server-api"`
  7. SPlug string `mapstructure:"server-plug" json:"server-plug" yaml:"server-plug"`
  8. SInitialize string `mapstructure:"server-initialize" json:"server-initialize" yaml:"server-initialize"`
  9. Root string `mapstructure:"root" json:"root" yaml:"root"`
  10. WTable string `mapstructure:"web-table" json:"web-table" yaml:"web-table"`
  11. Web string `mapstructure:"web" json:"web" yaml:"web"`
  12. SService string `mapstructure:"server-service" json:"server-service" yaml:"server-service"`
  13. SRequest string `mapstructure:"server-request" json:"server-request" yaml:"server-request"`
  14. WApi string `mapstructure:"web-api" json:"web-api" yaml:"web-api"`
  15. WForm string `mapstructure:"web-form" json:"web-form" yaml:"web-form"`
  16. TransferRestart bool `mapstructure:"transfer-restart" json:"transfer-restart" yaml:"transfer-restart"`
  17. }