globuid 0.1.0

A globally unique ID generator with pluggable algorithms and transport layer
Documentation
syntax = "proto3";

package globuid;

// GlobUid service definition
service GlobUid {
    // Generate a single unique ID
    rpc Generate(GenerateRequest) returns (GenerateResponse);
    
    // Generate multiple unique IDs in batch
    rpc GenerateBatch(GenerateBatchRequest) returns (GenerateBatchResponse);
    
    // Health check
    rpc Health(HealthRequest) returns (HealthResponse);
}

message GenerateRequest {}

message GenerateResponse {
    // ID as string (supports numeric, ULID, NanoID, etc.)
    string id = 1;
}

message GenerateBatchRequest {
    uint32 count = 1;
}

message GenerateBatchResponse {
    repeated string ids = 1;
    uint32 count = 2;
}

message HealthRequest {}

message HealthResponse {
    string status = 1;
}