From 128ec1e2d379ae62fcda171720347f43be2d5d6c Mon Sep 17 00:00:00 2001 From: violapioggia <2604296771@qq.com> Date: Thu, 7 Dec 2023 21:54:04 +0800 Subject: [PATCH] docs:adjust example --- README.md | 29 ++++++++++++++--------------- README_CN.md | 29 ++++++++++++++--------------- 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index b35eae04..aa293fac 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ English | [中文](README_CN.md) You can go into the related examples for information on "how to run" ## Bizdemo -- [basic](basic) Basic example of kitex -- [async_call](async_call) Example of using asynchronous call in kitex server - [bizdemo/easy_note](bizdemo/easy_note) Example of using kitex as an rpc framework to implement a simple note service - [Bookinfo](https://github.com/cloudwego/biz-demo/tree/main/bookinfo) Example of using kitex as an rpc framework to implement a multi-functional book service program - [Open Payment Platform](https://github.com/cloudwego/biz-demo/tree/main/open-payment-platform) Example of using kitex as the rpc framework to demonstrate the usage of kitex universal calls @@ -16,29 +14,30 @@ You can go into the related examples for information on "how to run" - [FreeCar](https://github.com/CyanAsterisk/FreeCar) Example of using kitex as the rpc framework to implement cloud native time-sharing car rental system suite services ## Basic features +- [basic](basic) Basic example of kitex +- [async_call](async_call) Example of using asynchronous call in kitex server - [codec](codec) Example of kitex server and client using custom codecs - - [codec-dubbo](https://github.com/kitex-contrib/codec-dubbo) Example of dubbo protocol codec launched by Kitex to support kitex <-> dubbo interoperability + - [codec-dubbo](https://github.com/kitex-contrib/codec-dubbo/tree/main/samples/helloworld) Example of dubbo protocol codec launched by Kitex to support kitex <-> dubbo interoperability - [long_connection](longconnection) Kitex example of using long connections between server and client - [streaming](streaming) Example of kitex server and client using streams - [middleware](middleware) Kitex Example of using middleware between server and client ## Governance Features - Example of kitex server using configuration center to connect to governance features - - [etcd](https://github.com/kitex-contrib/config-etcd) Kitex server uses etcd as an example of connecting the configuration center with governance features - - [nacos](https://github.com/kitex-contrib/config-nacos) Kitex server uses nacos as an example of connecting the configuration center with governance features - - [apollo](https://github.com/kitex-contrib/config-apollo) Kitex server uses apollo as an example of connecting the configuration center with governance features + - [etcd](https://github.com/kitex-contrib/config-etcd/tree/main/example) Kitex server uses etcd as an example of connecting the configuration center with governance features + - [nacos](https://github.com/kitex-contrib/config-nacos/tree/main/example) Kitex server uses nacos as an example of connecting the configuration center with governance features + - [apollo](https://github.com/kitex-contrib/config-apollo/tree/main/example) Kitex server uses apollo as an example of connecting the configuration center with governance features - Example of kitex server and client using service registration - - [etcd](https://github.com/kitex-contrib/registry-etcd) Example of kitex server and client using etcd as service registration center - - [nacos](https://github.com/kitex-contrib/registry-nacos) Kitex server and client use nacos as an example of service registration center - - [polaris](https://github.com/kitex-contrib/registry-polaris) Kitex server and client use polaris as an example of service registration center + - [etcd](https://github.com/kitex-contrib/registry-etcd/tree/main/example) Example of kitex server and client using etcd as service registration center + - [nacos](https://github.com/kitex-contrib/registry-nacos/tree/main/example) Kitex server and client use nacos as an example of service registration center + - [polaris](https://github.com/kitex-contrib/registry-polaris/tree/main/example) Kitex server and client use polaris as an example of service registration center - [zookeeper](https://github.com/kitex-contrib/registry-zookeeper) Example of kitex server and client using zookeeper as service registration center - - [consul](https://github.com/kitex-contrib/registry-consul) Example of kitex server and client using consul as service registration center - - [servicecomb](https://github.com/kitex-contrib/registry-servicecomb) Kitex server and client use servicecomb as an example of service registration center - - [eureka](https://github.com/kitex-contrib/registry-eureka) Kitex server and client use eureka as an example of service registration center + - [consul](https://github.com/kitex-contrib/registry-consul/tree/main/example) Example of kitex server and client using consul as service registration center + - [servicecomb](https://github.com/kitex-contrib/registry-servicecomb/tree/main/example) Kitex server and client use servicecomb as an example of service registration center + - [eureka](https://github.com/kitex-contrib/registry-eureka/tree/main/example) Kitex server and client use eureka as an example of service registration center - [discovery](discovery) Kitex server uses service discovery example - - [xDs](https://github.com/kitex-contrib/xds) Example of kitex server using xDS for service discovery - [dns](https://github.com/kitex-contrib/resolver-dns) Example of kitex server and client using dns for service discovery - - [resolver_rule_based](https://github.com/kitex-contrib/resolver-rule-based/tree/main) provides a rule-based resolver for kitex. It allows users to configure rules in service discovery to filter service instances and implement traffic segmentation. + - [resolver_rule_based](https://github.com/kitex-contrib/resolver-rule-based/tree/main/demo) provides a rule-based resolver for kitex. It allows users to configure rules in service discovery to filter service instances and implement traffic segmentation. - [timeout](governance/timeout) Example of using timeout control between kitex server and client - [limit](governance/limit) Example of using current limit on kitex server - [circuit_breaker](governance/circuitbreak) Example of kitex client using circuit breaker @@ -57,7 +56,7 @@ You can go into the related examples for information on "how to run" - [generic](generic) kitex example of using generic calls between server and client - [meta_info](metainfo) Example of kitex server and client using meta information - [profiler](profiler) Example of kitex server and client performance analysis using request cost metrics -- [proxyless](proxyless) kitex example of using proxyless server and client +- [proxyless](proxyless) Example of kitex server and client using xDS to run the service proxylessly ## Kitex generated code - [protobuf](kitex/protobuf) Example of using kitex and protobuf to generate server code diff --git a/README_CN.md b/README_CN.md index 2aeb1d51..9f54ff4c 100644 --- a/README_CN.md +++ b/README_CN.md @@ -7,8 +7,6 @@ 您可以进入相关示例以获取有关“如何运行”的信息 ## Bizdemo -- [basic](basic) kitex 的基础示例 -- [async_call:](async_call) 在 kitex server 中使用异步调用的示例 - [bizdemo/easy_note](bizdemo/easy_note) 使用 kitex 作为 rpc 框架实现简易笔记服务的示例 - [Bookinfo](https://github.com/cloudwego/biz-demo/tree/main/bookinfo) 使用 kitex 作为 rpc 框架实现多功能书籍服务程序的示例 - [Open Payment Platform](https://github.com/cloudwego/biz-demo/tree/main/open-payment-platform) 使用 kitex 作为 rpc 框架演示了 kitex 通用调用的用法 @@ -16,29 +14,30 @@ - [FreeCar](https://github.com/CyanAsterisk/FreeCar) 使用 kitex 作为 rpc 框架实现云原生分时租车系统套件服务的示例 ## 基本特性 +- [basic](basic) kitex 的基础示例 +- [async_call](async_call) 在 kitex server 中使用异步调用的示例 - [codec](codec) kitex 服务端和客户端使用自定义编解码器的示例 - - [codec-dubbo](https://github.com/kitex-contrib/codec-dubbo) Kitex 为了支持 kitex <-> dubbo 互通 推出的 dubbo 协议编解码器的示例 + - [codec-dubbo](https://github.com/kitex-contrib/codec-dubbo/tree/main/samples/helloworld) Kitex 为了支持 kitex <-> dubbo 互通 推出的 dubbo 协议编解码器的示例 - [long_connection](longconnection) kitex 服务端和客户端使用长连接的示例 - [streaming](streaming) kitex 服务端和客户端使用流的示例 - [middleware](middleware) kitex 服务端和客户端使用中间件的示例 ## 治理特性 - kitex 服务端使用配置中心对接治理特性的示例 - - [etcd](https://github.com/kitex-contrib/config-etcd) kitex 服务端使用 etcd 作为配置中心对接治理特性的示例 - - [nacos](https://github.com/kitex-contrib/config-nacos) kitex 服务端使用 nacos 作为配置中心对接治理特性的示例 - - [apollo](https://github.com/kitex-contrib/config-apollo) kitex 服务端使用 apollo 作为配置中心对接治理特性的示例 + - [etcd](https://github.com/kitex-contrib/config-etcd/tree/main/example) kitex 服务端使用 etcd 作为配置中心对接治理特性的示例 + - [nacos](https://github.com/kitex-contrib/config-nacos/tree/main/example) kitex 服务端使用 nacos 作为配置中心对接治理特性的示例 + - [apollo](https://github.com/kitex-contrib/config-apollo/tree/main/example) kitex 服务端使用 apollo 作为配置中心对接治理特性的示例 - kitex 服务端和客户端使用服务注册的示例 - - [etcd](https://github.com/kitex-contrib/registry-etcd) kitex 服务端和客户端使用 etcd 作为服务注册中心的示例 - - [nacos](https://github.com/kitex-contrib/registry-nacos) kitex 服务端和客户端使用 nacos 作为服务注册中心的示例 - - [polaris](https://github.com/kitex-contrib/registry-polaris) kitex 服务端和客户端使用 polaris 作为服务注册中心的示例 + - [etcd](https://github.com/kitex-contrib/registry-etcd/tree/main/example) kitex 服务端和客户端使用 etcd 作为服务注册中心的示例 + - [nacos](https://github.com/kitex-contrib/registry-nacos/tree/main/example) kitex 服务端和客户端使用 nacos 作为服务注册中心的示例 + - [polaris](https://github.com/kitex-contrib/registry-polaris/tree/main/example) kitex 服务端和客户端使用 polaris 作为服务注册中心的示例 - [zookeeper](https://github.com/kitex-contrib/registry-zookeeper) kitex 服务端和客户端使用 zookeeper 作为服务注册中心的示例 - - [consul](https://github.com/kitex-contrib/registry-consul) kitex 服务端和客户端使用 consul 作为服务注册中心的示例 - - [servicecomb](https://github.com/kitex-contrib/registry-servicecomb) kitex 服务端和客户端使用 servicecomb 作为服务注册中心的示例 - - [eureka](https://github.com/kitex-contrib/registry-eureka) kitex 服务端和客户端使用 eureka 作为服务注册中心的示例 + - [consul](https://github.com/kitex-contrib/registry-consul/tree/main/example) kitex 服务端和客户端使用 consul 作为服务注册中心的示例 + - [servicecomb](https://github.com/kitex-contrib/registry-servicecomb/tree/main/example) kitex 服务端和客户端使用 servicecomb 作为服务注册中心的示例 + - [eureka](https://github.com/kitex-contrib/registry-eureka/tree/main/example) kitex 服务端和客户端使用 eureka 作为服务注册中心的示例 - [discovery](discovery) kitex 服务端使用服务发现的示例 - - [xDs](https://github.com/kitex-contrib/xds) kitex 服务端使用 xDS 进行服务发现的示例 - [dns](https://github.com/kitex-contrib/resolver-dns) kitex 服务端和客户端使用 dns 进行服务发现的示例 - - [resolver_rule_based](https://github.com/kitex-contrib/resolver-rule-based/tree/main) 为 kitex 提供了一个基于规则的解析器。它允许用户在服务发现中配置规则来过滤服务实例,实现流量切分的功能。 + - [resolver_rule_based](https://github.com/kitex-contrib/resolver-rule-based/tree/main/demo) 为 kitex 提供了一个基于规则的解析器。它允许用户在服务发现中配置规则来过滤服务实例,实现流量切分的功能。 - [timeout](governance/timeout) kitex 服务端和客户端使用超时控制的示例 - [limit](governance/limit) kitex 服务端使用限流的示例 - [circuit_breaker](governance/circuitbreak) kitex 客户端使用熔断的示例 @@ -57,7 +56,7 @@ - [generic](generic) kitex 服务端和客户端使用泛化调用的示例 - [meta_info](metainfo) kitex 服务端和客户端使用元信息的示例 - [profiler](profiler) kitex 服务端和客户端使用请求成本度量进行性能分析的示例 -- [proxyless](proxyless) kitex 服务端和客户端使用无代理的示例 +- [proxyless](proxyless) kitex 服务端和客户端使用 xDS 让服务以无代理形式运行的示例 ## Kitex 生成代码 - [protobuf](kitex/protobuf) 使用 kitex 与 protobuf 生成服务端代码的示例