forked from imiphp/imi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache、lock、queue、rate-limit 改造兼容 # Conflicts: # src/Components/swoole/src/Redis/Pool/CoroutineRedisPool.php # src/Lock/Handler/Redis.php # src/Redis/RedisHandler.php # src/Redis/RedisResource.php # src/Redis/SyncRedisPool.php # src/Server/ConnectContext/BinderHandler/Redis.php # src/Server/ConnectContext/StoreHandler/Redis.php # src/Server/Group/Handler/Redis.php
- Loading branch information
Showing
15 changed files
with
290 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Imi\Redis\Enum; | ||
|
||
class RedisMode | ||
{ | ||
/** | ||
* 单机. | ||
*/ | ||
public const STANDALONE = 'standalone'; | ||
|
||
/** | ||
* 哨兵模式. | ||
*/ | ||
public const SENTINEL = 'sentinel'; | ||
|
||
/** | ||
* 集群模式. | ||
*/ | ||
public const CLUSTER = 'cluster'; | ||
|
||
private function __construct() | ||
{ | ||
} | ||
} |
Oops, something went wrong.