luci: 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 2020-12-06. Refresh now. Tools for package owners.