Created
April 5, 2022 13:55
-
-
Save FerdinaKusumah/322ef7ff842aae1b287e3c2579ba2371 to your computer and use it in GitHub Desktop.
hello protobuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
option go_package = "proto/hello.proto;hello_proto"; | |
package proto; | |
service HelloService { | |
rpc SayHello(HelloRequest) returns (HelloResponse) {} | |
} | |
message HelloRequest { | |
string name = 1; | |
} | |
message HelloResponse { | |
string message = 1; | |
string name = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment