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 }