luci: go.chromium.org/luci/grpc/cmd/svcmux Files

Command svcmux

Command svcmux reads a service interface XYZServer generated by protoc and generates VersionedXYZV struct that stores a map version->implementation, and a default version. Each method forwards a request to the implementation of the requested version.

Example of usage:

//go:generate svcmux -type GreetServer

Package Files

main.go template.go

Package main imports 6 packages (graph). Updated 2018-08-19. Refresh now. Tools for package owners.