micseres/micro-service-reactor

Micro Service Reactor

Installs: 12 183

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/micseres/micro-service-reactor

1.1.0 2021-04-20 07:56 UTC

This package is auto-updated.

Last update: 2025-09-20 17:47:51 UTC


README

Usage

    protected function execute(InputInterface $input, OutputInterface $output): void
    {
        $this->input  = $input;
        $this->output = $output;
        
        $this->microServiceReactor = new MicroServiceReactor('127.0.0.1', 9001, 'passport', 1000);

        $this->microServiceReactor->setController([$this, 'generate']);
        $this->microServiceReactor->setLogger([$this, 'log']);

        $this->microServiceReactor->process();
    }

License

The Soft Deletable Bundle is open-sourced software licensed under the MIT license.