改名
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Rpc;
|
||||
|
||||
|
||||
use Kiri\Pool\Pool;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class Consumers implements OnRpcConsumerInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @var Pool
|
||||
*/
|
||||
public Pool $pool;
|
||||
|
||||
|
||||
/**
|
||||
* @param string $method
|
||||
* @param mixed $data
|
||||
* @param string $version
|
||||
*/
|
||||
public function notify(string $method, mixed $data, string $version = '2.0'): void
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $method
|
||||
* @param mixed $data
|
||||
* @param string $version
|
||||
* @param string $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function get(string $method, mixed $data, string $version = '2.0', string $id = ''): mixed
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
private function get_consul()
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user