JM-WechatMini/config/auto_code.go
2023-11-02 04:34:46 +08:00

19 lines
1.4 KiB
Go

package config
type Autocode struct {
SModel string `mapstructure:"server.exe.exe-model" json:"server.exe.exe-model" yaml:"server.exe.exe-model"`
SRouter string `mapstructure:"server.exe.exe-router" json:"server.exe.exe-router" yaml:"server.exe.exe-router"`
Server string `mapstructure:"server.exe.exe" json:"server.exe.exe" yaml:"server.exe.exe"`
SApi string `mapstructure:"server.exe.exe-api" json:"server.exe.exe-api" yaml:"server.exe.exe-api"`
SPlug string `mapstructure:"server.exe.exe-plug" json:"server.exe.exe-plug" yaml:"server.exe.exe-plug"`
SInitialize string `mapstructure:"server.exe.exe-initialize" json:"server.exe.exe-initialize" yaml:"server.exe.exe-initialize"`
Root string `mapstructure:"root" json:"root" yaml:"root"`
WTable string `mapstructure:"web-table" json:"web-table" yaml:"web-table"`
Web string `mapstructure:"web" json:"web" yaml:"web"`
SService string `mapstructure:"server.exe.exe-service" json:"server.exe.exe-service" yaml:"server.exe.exe-service"`
SRequest string `mapstructure:"server.exe.exe-request" json:"server.exe.exe-request" yaml:"server.exe.exe-request"`
WApi string `mapstructure:"web-api" json:"web-api" yaml:"web-api"`
WForm string `mapstructure:"web-form" json:"web-form" yaml:"web-form"`
TransferRestart bool `mapstructure:"transfer-restart" json:"transfer-restart" yaml:"transfer-restart"`
}