add drpc as known component
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
a2da7d4ceb
commit
15e7f6bd16
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)
|
||||
case "http":
|
||||
err = g.httpGenerate(component, plugin, genClient, genServer)
|
||||
case "grpc", "rpc":
|
||||
case "grpc", "drpc", "rpc":
|
||||
err = g.rpcGenerate("rpc", plugin, genClient, genServer)
|
||||
case "gorilla":
|
||||
err = g.gorillaGenerate(component, plugin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user