Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
damonxue committed Oct 9, 2024
1 parent c232a26 commit 9b67983
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions shenyuClientRust/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ When you success get toekn, you will see this :
this is ShenYu Admin client token -> eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjUwNjc5OTQ2fQ.K92Il2kmJ0X3FgjY4igW35-pw9nsf5VKdUyqBoyIaF4
```

**3.Step 2 Register MetaData to ShenYu GateWay. **
**3.Step 2 Register MetaData to ShenYu GateWay.**

```markdown
// register to shenyu admin.
Expand Down Expand Up @@ -144,7 +144,7 @@ client.register().expect("TODO: panic message");
```

**3.Step 3 Offline register from ShenYu GateWay. **
**3.Step 3 Offline register from ShenYu GateWay.**

```log
2024-10-03T02:29:50.311159Z INFO shenyu_client_rust::core: [SUCCESS], offline success, register data: Object {
Expand Down
7 changes: 3 additions & 4 deletions shenyuClientRust_versioned_docs/version-1.0.0/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let config = ShenYuConfig::from_yaml_file("config.yml").unwrap();
let client = ShenyuClient::new(config, app.app_name(), app.uri_infos(), 3000).unwrap();
```

```log
```
The adminToken like this :
{
"code":200,
Expand All @@ -57,8 +57,7 @@ When you success get toekn, you will see this :
2024-10-09T08:07:27.721483Z INFO shenyu_client_rust::core: [SUCCESS], get register token success, register token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNzI4NTQ3NjQ3fQ.93LAuDP_MrJZeQB5A6gX-3-Vyxy9egw41QhnNHlUWEE"
```

**3.Step 2 Register MetaData to ShenYu GateWay. **
**3.Step 2 Register MetaData to ShenYu GateWay.**

```markdown
// register to shenyu admin.
Expand Down Expand Up @@ -145,7 +144,7 @@ client.register().expect("TODO: panic message");
```

**3.Step 3 Offline register from ShenYu GateWay. **
**3.Step 3 Offline register from ShenYu GateWay.**

```log
2024-10-03T02:29:50.311159Z INFO shenyu_client_rust::core: [SUCCESS], offline success, register data: Object {
Expand Down

0 comments on commit 9b67983

Please sign in to comment.