Re-generate API docs

This commit is contained in:
crazywhalecc
2022-04-01 18:48:48 +08:00
committed by sunxyw
parent ae0cf5e3d7
commit 9fa1079248
39 changed files with 488 additions and 220 deletions

View File

@@ -15,6 +15,7 @@ public function init(mixed $config): bool|mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| config | mixed | |
### 返回
| 类型 | 描述 |
@@ -37,6 +38,7 @@ public function get(string $key): null|mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -59,6 +61,7 @@ public function getExpire(string $key): null|mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -81,6 +84,7 @@ public function getExpireTS(string $key): null|mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -105,6 +109,7 @@ public function set(array|int|string $value, string $key, int $expire): bool
| value | array|int|string | |
| key | string | |
| expire | int | |
### 返回
| 类型 | 描述 |
@@ -128,6 +133,7 @@ public function update(mixed $value, string $key): bool
| -------- | ---- | ----------- |
| value | mixed | |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -150,6 +156,7 @@ public function isset(string $key): bool
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| key | string | |
### 返回
| 类型 | 描述 |

View File

@@ -16,6 +16,7 @@ public function get(string $table, string $key): null|mixed
| -------- | ---- | ----------- |
| table | string | |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -40,6 +41,7 @@ public function set(array|int|string $value, string $table, string $key): mixed
| value | array|int|string | |
| table | string | |
| key | string | |
### 返回
| 类型 | 描述 |
@@ -65,6 +67,7 @@ public function createTable(mixed $name, mixed $size, mixed $str_size, int $conf
| size | mixed | |
| str_size | mixed | |
| conflict_proportion | int | |
### 返回
| 类型 | 描述 |

View File

@@ -32,6 +32,7 @@ public function call(callable $callable): mixed
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| callable | callable | |
### 返回
| 类型 | 描述 |

View File

@@ -15,6 +15,7 @@ public function get(mixed $name): Swoole\Atomic
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| name | mixed | |
### 返回
| 类型 | 描述 |