Merge pull request #43 from unistack-org/drpc
add drpc as known component
This commit is contained in:
commit
03355d0d83
2
main.go
2
main.go
@ -89,7 +89,7 @@ func (g *Generator) Generate(plugin *protogen.Plugin) error {
|
|||||||
err = g.microGenerate(component, plugin, genClient, genServer)
|
err = g.microGenerate(component, plugin, genClient, genServer)
|
||||||
case "http":
|
case "http":
|
||||||
err = g.httpGenerate(component, plugin, genClient, genServer)
|
err = g.httpGenerate(component, plugin, genClient, genServer)
|
||||||
case "grpc", "rpc":
|
case "grpc", "drpc", "rpc":
|
||||||
err = g.rpcGenerate("rpc", plugin, genClient, genServer)
|
err = g.rpcGenerate("rpc", plugin, genClient, genServer)
|
||||||
case "gorilla":
|
case "gorilla":
|
||||||
err = g.gorillaGenerate(component, plugin)
|
err = g.gorillaGenerate(component, plugin)
|
||||||
|
Loading…
Reference in New Issue
Block a user