# FALSE
grpcurl -v -proto 'protos/Users.proto' -plaintext localhost:30000 users.Users
# TRUE
grpcurl -v -proto 'protos/Users.proto' -plaintext localhost:30000 users.Users.Ping
syntax = "proto3";
package users;
option go_package = "./users";
import "google/protobuf/any.proto";
import "google/protobuf/empty.proto";
import "google/api/annotations.proto";
service Users {
rpc Ping(google.protobuf.Empty) returns (stream ApiResponse) {
option (google.api.http) = {
post: "/"
};
}
}
message PingDTO {
string test = 1;
}
message ApiResponse {
int32 stat_code = 1;
string stat_message = 2;
string err_message = 3;
google.protobuf.Any data = 4;
}