Skip to content

Commit 7ac5611

Browse files
committed
Add test to support rest, grpc, rpc
1 parent e1ad9d6 commit 7ac5611

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
using Surging.Core.CPlatform.Ioc;
1+
using Greet;
2+
using Grpc.Core;
3+
using Surging.Core.CPlatform.Ioc;
24
using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes;
5+
using System.Threading.Tasks;
36

47
namespace Surging.IModuleServices.Common
58
{
69
[ServiceBundle("api/{Service}/{Method}")]
710
public interface IGreeterService : IServiceKey
811
{
12+
Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context = null);
913
}
1014
}

0 commit comments

Comments
 (0)