go_dreamfactory/modules/dispatch/module.go
2023-02-23 11:40:02 +08:00

28 lines
493 B
Go

package dispatch
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
// 派遣
type Dispatch struct {
modules.ModuleBase
api *apiComp
}
func NewModule() core.IModule {
return &Dispatch{}
}
func (this *Dispatch) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error){
err = this.ModuleBase.Init(service, module, options)
return
}
func (this *Dispatch) GetType() core.M_Modules {
return comm.ModuleDispatch
}