2022-11-04 15:37:04 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* This file is part of Hyperf.
|
|
|
|
*
|
|
|
|
* @link https://www.hyperf.io
|
|
|
|
* @document https://hyperf.wiki
|
|
|
|
* @contact group@hyperf.io
|
|
|
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
|
|
|
*/
|
2022-11-07 17:02:38 +08:00
|
|
|
use Hyperf\JsonRpc\JsonRpcPoolTransporter;
|
|
|
|
use Hyperf\JsonRpc\JsonRpcTransporter;
|
|
|
|
|
2022-11-04 15:37:04 +08:00
|
|
|
return [
|
2022-11-07 17:02:38 +08:00
|
|
|
JsonRpcTransporter::class => JsonRpcPoolTransporter::class,
|
2022-11-16 15:41:43 +08:00
|
|
|
App\JsonRpc\UserExternalServiceInterface::class => App\JsonRpc\UserExternalServiceConsumer::class,
|
2022-11-15 16:33:33 +08:00
|
|
|
App\JsonRpc\PunchCardSystemExternalServiceInterface::class => App\JsonRpc\PunchCardSystemExternalServiceConsumer::class,
|
2022-11-04 15:37:04 +08:00
|
|
|
];
|