How to produce multiple proto
jin-liu-1234 opened this issue · 2 comments
jin-liu-1234 commented
How to produce multiple proto services
jin-liu-1234 commented
zaquestion commented
2 services within a single truss service isn't something we currently support. Your best bet is probably to generate the services individually. truss aikucun_activity.proto
, truss aikucun_product.proto
-- Then potentially if you really wanted to serve them from the same binary, you could try using a custom main.go
https://github.com/metaverse/truss/wiki/Using-a-custom-main.go-with-generated-truss-services