add drpc as known component

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2022-03-20 14:18:35 +03:00
parent a2da7d4ceb
commit 15e7f6bd16

View File

@ -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)