micseres/micro-service-reactor

Micro Service Reactor

1.1.0 2021-04-20 07:56 UTC

This package is auto-updated.

Last update: 2024-04-20 14:19:55 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.