Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 790 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 790 Bytes

Protocol Buffer and gRPC definitions

Definitions for gRPC client and plugins.

gRPC clients must implement rpc service Node, plugins Plugin.

Generated Go code is included. For a sample Python implementation of a client see tn-cli. For a partial plugin implementation see chatbot.

If you want to make changes, you have to install protobuffers tool chain and gRPC. To generate Go bindings add the following line to your code and run go generate (your actual path to /pbx may be different):

To generate Python bindings:

python -m grpc_tools.protoc -I../pbx --python_out=. --grpc_python_out=. ../pbx/model.proto