metaverse / truss

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.
Other
736 stars 144 forks source link

modify endpoint.gotemplate to implementing service discovery and load balancing on the client side #356

Open polatouche6 opened 5 months ago

polatouche6 commented 5 months ago

service discovery and load balancing example is in https://github.com/go-kit/examples/blob/master/apigateway/main.go:93; If the generation tool does not support the extension of these functions, it needs to be repeated on the client side for each endpoint