Skip to content

Commit

Permalink
auto detect proxy type
Browse files Browse the repository at this point in the history
  • Loading branch information
icodening committed May 5, 2023
1 parent 5ef0e35 commit 3ddd577
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dubbo-compiler/src/main/resources/DubboGrpcStub.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static Dubbo{{serviceName}}Stub getDubboStub(io.grpc.Channel channel, io.
return new Dubbo{{serviceName}}Stub(channel, callOptions, url);
}

public interface I{{serviceName}} extends org.apache.dubbo.rpc.model.DubboStub {
public interface I{{serviceName}} {
{{#unaryMethods}}
{{#javaDoc}}
{{{javaDoc}}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ stub = {{serviceName}}Grpc.newStub(channel).build(channel, callOptions);
{{/unaryRequestMethods}}
}

public interface IReactor{{serviceName}} extends org.apache.dubbo.rpc.model.DubboStub {
public interface IReactor{{serviceName}} {
{{#methods}}
{{#javaDoc}}
{{{javaDoc}}}
Expand Down
2 changes: 1 addition & 1 deletion dubbo-compiler/src/main/resources/RxDubboGrpcStub.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ stub = {{serviceName}}Grpc.newStub(channel).build(channel, callOptions);
{{/unaryRequestMethods}}
}

public interface IRx{{serviceName}} extends org.apache.dubbo.rpc.model.DubboStub {
public interface IRx{{serviceName}} {
{{#methods}}
{{#javaDoc}}
{{{javaDoc}}}
Expand Down

0 comments on commit 3ddd577

Please sign in to comment.