add cache storage placeholder
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Hyperf\RateLimit\Storage\StorageInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
class MemoryTableStorage implements StorageInterface
|
||||
{
|
||||
|
||||
// @TODO 使用 https://wiki.swoole.com/zh-cn/#/memory/table 创建限流的缓存系统
|
||||
public function __construct(ContainerInterface $container, string $key, int $timeout, array $options = [])
|
||||
{
|
||||
throw new \Exception('Not implemented');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user