micseres / micro-service-bundle
微服务包
1.0.3
2019-12-04 14:28 UTC
Requires
- php: >=7.2
- ext-json: *
- ext-sockets: *
- micseres/micro-service-reactor: dev-master
- symfony/config: ^4.1|^5.0
- symfony/dependency-injection: ^4.0|^5.0
- symfony/http-kernel: ^4.1|^5.0
Requires (Dev)
- phpunit/phpunit: >=7.2
This package is auto-updated.
Last update: 2024-09-05 00:54:36 UTC
README
配置
micro_service: connections: passport: ip: 127.0.0.1 port: 9001 route: passport apiKey: pass algorithm: aes128
注册
return [ \Micseres\MicroServiceBundle\MicroServiceBundle::class => ['all' => true], ];
使用说明
protected function execute(InputInterface $input, OutputInterface $output): void { $this->input = $input; $this->output = $output; $this->microServiceReactor->setController([$this, 'generate']); $this->microServiceReactor->setLogger([$this, 'log']); $this->microServiceReactor->process(); }
许可证
软删除包是开源软件,遵循MIT许可证。