first commit

This commit is contained in:
2025-12-30 23:48:52 +07:00
commit 706340e0a9
6 changed files with 421 additions and 0 deletions

21
proto/identifier.proto Normal file
View File

@@ -0,0 +1,21 @@
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;
}