Documentation ¶
Index ¶
- func BuildPluginSvr(pluginJsonFile string) (err error)
- func CheckFileIsExist(filename string) bool
- func CompressPathToZip(path, excludeDir string, excludeFile string, targetFile string) error
- func RunGoBuild(env map[string]string, args ...string) (err error)
- type BackendRoute
- type Build
- type BuildConfig
- type ExecSql
- type Gormigrate
- type Migration
- type PluginInitRespData
- type PluginJsonData
- type Route
- type RouteMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPluginSvr ¶
func CheckFileIsExist ¶
func CompressPathToZip ¶
CompressPathToZip 压缩文件夹
Types ¶
type BackendRoute ¶
type Build ¶
func (*Build) DarwinAmd64 ¶
func (*Build) LinuxAmd64 ¶
func (*Build) LinuxArm64 ¶
func (*Build) WindowsAmd64 ¶
type BuildConfig ¶
type Gormigrate ¶
type Gormigrate struct {
Migrations []*Migration `json:"migrations"`
}
type PluginInitRespData ¶
type PluginInitRespData struct { PluginJsonData *PluginJsonData `json:"plugin_json_data"` Gormigrate *Gormigrate `json:"gormigrate"` }
type PluginJsonData ¶
type PluginJsonData struct { Version string `json:"version"` MainGoFile string `json:"main_go_file"` PluginName string `json:"plugin_name"` BackendDebug bool `json:"backend_debug"` FrontendDebug bool `json:"frontend_debug"` PluginAlias string `json:"plugin_alias"` FrontendRoutes []*Route `json:"frontend_routes"` FrontendDevPort int `json:"frontend_dev_port"` BackendRoutes []*BackendRoute `json:"backend_routes"` }
func (*PluginJsonData) String ¶
func (this *PluginJsonData) String() string
Click to show internal directories.
Click to hide internal directories.