Skip to content

Commit

Permalink
doc: Block/Async api at README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CherishCai committed Mar 28, 2024
1 parent 51293a4 commit ba2b3af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ pip install nacos-sdk-rust-binding-py
## Usage

**使用样例请看仓库内的 examples 目录**
- Block api: [examples/naming.py](examples/naming.py) / [examples/config.py](examples/config.py)
- Async api: [examples/async_naming.py](examples/async_naming.py) / [examples/async_config.py](examples/async_config.py)

**其它设置**

环境变量 `NACOS_CLIENT_LOGGER_LEVEL=INFO` 可设置日志打印级别,默认 INFO
- 客户端日志请在目录 `$HOME/logs/nacos/` 查看
Expand Down Expand Up @@ -53,7 +57,7 @@ class ClientOptions:
# Init
def __init__(self, server_addr, namespace, app_name, username, password):
self.server_addr = server_addr
self.server_addr = namespace
self.namespace = namespace
self.app_name = app_name
self.username = username
self.password = password
Expand Down

0 comments on commit ba2b3af

Please sign in to comment.