truss
truss copied to clipboard
How to produce multiple proto
How to produce multiple proto services
like this, There should be two services registered, but only one
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