metaverse/truss

How to produce multiple proto

jin-liu-1234 opened this issue · 2 comments

How to produce multiple proto services

image

image

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