Files
tunnel-please-grpc/proto/identifier.proto
2025-12-30 23:48:52 +07:00

21 lines
371 B
Protocol Buffer

syntax = "proto3";
package identifier;
option go_package = "./gen";
import "google/protobuf/empty.proto";
service Identity {
rpc Get(IdentifierRequest) returns (IdentifierResponse);
rpc Create(google.protobuf.Empty) returns (IdentifierResponse);
}
message IdentifierRequest {
string id = 1;
}
message IdentifierResponse {
string id = 1;
string slug = 2;
}