Skip to content

Commit 52a7529

Browse files
committed
update docs
1 parent f3df415 commit 52a7529

6 files changed

+1
-1
lines changed

8_community-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ make run
278278

279279
Visit `http://localhost:8080/apis/swagger/index.htm` in your browser to enter the swagger interface, as shown below:
280280

281-
![community-gw-swagger](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/community-gw-swagger.png)
281+
![community-gw-swagger](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/community-single-swagger.png)
282282

283283
From the figure, it can be seen that some api interfaces have a lock mark on the right, indicating that the request header will carry authentication information Authorization. Whether the server receives a request for authentication is determined by the server. If the server needs to authenticate, it can be set in `community_gw/internal/routers` directory suffix file `_service.pb.go`, that is, uncommenting authentication code to make api interface authentication middleware effective.
284284

assets/en_community-rpc-conn.png

81.1 KB
Loading

assets/en_community-rpc-gw-pb.png

134 KB
Loading
115 KB
Loading
105 KB
Loading

assets/en_community-rpc-pb-user.png

104 KB
Loading

0 commit comments

Comments
 (0)