summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/grpc/testdata/simple')
-rw-r--r--tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php22
-rw-r--r--tests/plugins/grpc/testdata/simple/simple.proto13
2 files changed, 0 insertions, 35 deletions
diff --git a/tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php b/tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php
deleted file mode 100644
index f9e84bf7..00000000
--- a/tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler (spiral/php-grpc). DO NOT EDIT!
-# source: simple/simple.proto
-
-namespace TestSimple;
-
-use Spiral\GRPC;
-
-interface SimpleServiceInterface extends GRPC\ServiceInterface
-{
- // GRPC specific service name.
- public const NAME = "testSimple.SimpleService";
-
- /**
- * @param GRPC\ContextInterface $ctx
- * @param SimpleMessage $in
- * @return SimpleMessage
- *
- * @throws GRPC\Exception\InvokeException
- */
- public function SimpleMethod(GRPC\ContextInterface $ctx, SimpleMessage $in): SimpleMessage;
-}
diff --git a/tests/plugins/grpc/testdata/simple/simple.proto b/tests/plugins/grpc/testdata/simple/simple.proto
deleted file mode 100644
index aca3c1d9..00000000
--- a/tests/plugins/grpc/testdata/simple/simple.proto
+++ /dev/null
@@ -1,13 +0,0 @@
-syntax = "proto3";
-
-package testSimple;
-
-service SimpleService {
- rpc SimpleMethod (SimpleMessage) returns (SimpleMessage) {
- }
-}
-
-message SimpleMessage {
- int32 id = 1;
- string name = 2;
-} \ No newline at end of file