module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 15, 2026
License: MIT
Opens a new window with license information.
README
¶
kitex-examples
Kitex echo 示例——client/server + Thrift IDL + 治理配置样例。
项目主页:https://oekit.github.io/ · 名称由来:Open Easy Kit(开源 · 易用 · 工具集合)
本仓库是 ekit 拆分矩阵的成员(Round-3 自 ekit-kitex 迁出),
使 ekit-kitex 主模块不再依赖 bootstrap 全链。
结构
kitex_gen/ — thrift 生成的 echo 服务代码
client/、server/ — 示例客户端与服务端(接入 bootstrap + Nacos + 治理配置)
idl/echo.thrift — IDL
configs/ — retry/rpc_timeout/limit 治理配置样例
运行
go run ./server # 先起 server(注册到 Nacos / mock 模式)
go run ./client
依赖:ekit-kitex、ekit-bootstrap、ekit-registry、ekit-logx、ekit-tracing。
License
见 LICENSE
Directories
¶
|
|
|
kitex_gen
|
|
|
|
|
|
|
Code generated by Kitex v0.16.3. |
|
|
|
Click to show internal directories.
Click to hide internal directories.