17 lines
381 B
Go
17 lines
381 B
Go
package dispatch
|
|
|
|
import (
|
|
"go_dreamfactory/lego/core"
|
|
"go_dreamfactory/modules"
|
|
)
|
|
|
|
type apiComp struct {
|
|
modules.MCompGate
|
|
module *Dispatch
|
|
}
|
|
|
|
func(this *apiComp) Init(service core.IService, module core.IModule,comp core.IModuleComp, options core.IModuleOptions) (err error){
|
|
_ = this.MCompGate.Init(service, module, comp, options)
|
|
this.module = module.(*Dispatch)
|
|
return
|
|
} |