Skip to content

Commit

Permalink
更新文档,翻译组件描述为中文
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Dec 27, 2024
1 parent 9f3d018 commit aeb6e8b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion zh-cn/components/model-scope.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Model Scope

The model scope annotation for Hyperf.
Hyperf 框架的模型 Scope 注解组件。

## 安装

Expand Down
2 changes: 1 addition & 1 deletion zh-cn/components/mysql-grammar-addon.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mysql Grammar Addon

The MySqlGrammar addon for Hyperf.
Hyperf 框架的 MySqlGrammar 扩展组件。

## 安装

Expand Down
2 changes: 1 addition & 1 deletion zh-cn/components/pretty-console.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pretty Console

The pretty console component for Hyperf.
用于 Hyperf 的精美控制台组件。

![Pretty Console](https://user-images.githubusercontent.com/5457236/178333036-b11abb56-ba70-4c0d-a2f6-79afe3a0a78c.png)

Expand Down
2 changes: 1 addition & 1 deletion zh-cn/components/recaptcha.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ReCaptcha

The Google recaptcha component for Hyperf.
适用于 Hyperf 的 Google ReCaptcha 组件。

## 安装

Expand Down
8 changes: 2 additions & 6 deletions zh-cn/components/redis-subscriber.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Redis Subscriber

Forked from [mix-php/redis-subscriber](https://github.com/mix-php/redis-subscriber)
基于 Swoole 协程的 Redis 原生协议订阅器,代码从 [mix-php/redis-subscriber](https://github.com/mix-php/redis-subscriber) 复刻而来。

Redis native protocol Subscriber based on Swoole coroutine

基于 Swoole 协程的 Redis 原生协议订阅库

使用 Socket 直接连接 Redis 服务器,不依赖 phpredis 扩展,该订阅器有如下优点:
基于 Swoole 协程的 Redis 原生协议订阅库,使用 Socket 直接连接 Redis 服务器,不依赖 phpredis 扩展,该订阅器有如下优点:

- 平滑修改:可随时增加、取消订阅通道,实现无缝切换通道的需求。
- 跨协程安全关闭:可在任意时刻关闭订阅。
Expand Down
2 changes: 1 addition & 1 deletion zh-cn/components/sentry.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sentry

The sentry component for Hyperf.
Hyperf 的 Sentry 组件。

## 安装

Expand Down
1 change: 0 additions & 1 deletion zh-cn/components/tcp-sender.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
`friendsofhyperf/tcp-sender` 是一个类似 `hyperf/websocket-server` 的 TCP 服务组件,可以用于向指定的 fd 发送消息。
无需额外关注底层的实现,只需关注业务逻辑即可。


## 安装

```shell
Expand Down
2 changes: 1 addition & 1 deletion zh-cn/components/tinker.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tinker

The Powerful REPL for Hyperf.
Hyperf 的强大的 REPL 工具。

## 安装

Expand Down

0 comments on commit aeb6e8b

Please sign in to comment.