This commit is contained in:
Janos Dobronszki
2021-05-17 15:01:22 +01:00
committed by GitHub
parent a2dc68b385
commit 114fa6735b
8 changed files with 93 additions and 99 deletions

View File

@@ -1,10 +1,10 @@
syntax = "proto3";
package urlshortener;
package url;
option go_package = "github.com/micro/services/url-shortener/proto;urlshortener";
option go_package = "github.com/micro/services/url/proto;url";
service UrlShortener {
service Url {
rpc Shorten(ShortenRequest) returns (ShortenResponse) {}
rpc List(ListRequest) returns (ListResponse) {}
rpc Proxy(ProxyRequest) returns (ProxyResponse) {}