You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
513 B
22 lines
513 B
package allhelp
|
|
|
|
import (
|
|
"yunyan/lego/base"
|
|
"yunyan/lego/core"
|
|
"yunyan/modules"
|
|
)
|
|
|
|
type apiComp struct {
|
|
modules.MCompHttpGate
|
|
service base.IRPCXService
|
|
module *Allhelp
|
|
options *Options
|
|
}
|
|
|
|
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
|
this.MCompHttpGate.Init(service, module, comp, options)
|
|
this.service = service.(base.IRPCXService)
|
|
this.module = module.(*Allhelp)
|
|
this.options = options.(*Options)
|
|
return
|
|
}
|
|
|