CmdID

CmdID / Commands

kitex

Code generation tool provided by the Go RPC framework Kitex. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Code generation tool provided by the Go RPC framework Kitex. Kitex accepts both thrift and protobuf IDLs, and supports generating a skeleton of a server side project.

Generate client codes when a project is in $GOPATH

kitex path/to/IDL_file.thriftIdentify

Generate client codes when a project is not in $GOPATH

kitex -module github.com/xx-org/xx-name path/to/IDL_file.thriftIdentify

Generate client codes with protobuf IDL

kitex -type protobuf path/to/IDL_file.protoIdentify

Generate server codes

kitex -service svc_name path/to/IDL_file.thriftIdentify