Scaffolding gRPC
The Kratos Connection.

Experience blazing-fast, binary-efficient communication between your services. GO-DUCK automatically generates production-ready gRPC schemas and Kratos service implementations for every GDL entity.

Protobuf First

Auto-generated .proto files with deep field validation and secure gRPC-Gateway metadata definitions.

Kratos secured

OIDC/JWT authentication interceptors baked directly into the Kratos middleware for every generated gRPC service.

The Protobuf Lifecycle

// Generated Service Schema for Entity
service EntityService {
  rpc Get (GetEntityRequest) returns (EntityReply) {
    option (google.api.http) = {
      get: "/v1/entity/{id}"
    };
  }
}
                    

Federated gRPC Resolution

Our gRPC implementation is natively silo-aware. It uses the same Repository Layer as the REST controllers—ensuring that every RPC call is routed to the correct database silo based on the caller's JWT role.

100% Binary Maximum Throughput