A demo with Kitex
and Zorm
- Use
thrift
IDL to defineRPC
interface - Use
kitex
to generate code - Use
Zorm
andMySQL
This demo use thrift
IDL to define RPC
interface. The specific interface define in user.thrift
This demo use kitex
to generate code. The use of kitex
refers
to kitex
The kitex
commands used can be found in Makefile
This demo use Zorm
to operate MySQL
and refers to Zorm
cd bizdemo/kitex_zorm && docker-compose up
cd bizdemo/kitex_zorm
go build -o kitex_zorm && ./kitex_zorm