26 lines
501 B
Go
26 lines
501 B
Go
package dbservice
|
|
|
|
import (
|
|
"go_dreamfactory/modules"
|
|
|
|
"go_dreamfactory/lego/core"
|
|
)
|
|
|
|
type Api_Comp struct {
|
|
modules.MComp_GateComp
|
|
service core.IService
|
|
module *DBService
|
|
}
|
|
|
|
func (this *Api_Comp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
|
this.MComp_GateComp.Init(service, module, comp, options)
|
|
this.service = service
|
|
this.module = module.(*DBService)
|
|
return
|
|
}
|
|
|
|
func (this *Api_Comp) Start() (err error) {
|
|
|
|
return
|
|
}
|