{
  "repo": "tidbcloud/archieve-lego-gateway",
  "binary": "cluster",
  "binary_path": "components/cluster/cmd/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "extensions": {},
  "services": [
    {
      "name": "ClusterLifecycle",
      "package": "components/cluster/cmd",
      "methods": [
        {
          "name": "ServeGRPC",
          "name_key": "ClusterLifecycle.ServeGRPC",
          "input": "service bootstrap dependencies",
          "output": "running ClusterService gRPC server on :9191",
          "type": "local"
        },
        {
          "name": "ServeHTTPGateway",
          "name_key": "ClusterLifecycle.ServeHTTPGateway",
          "input": "grpc-gateway mux + gin router",
          "output": "HTTP gateway for ClusterService on :8080",
          "type": "local"
        }
      ]
    },
    {
      "name": "ClusterService",
      "package": "components/cluster/pkg/service/proto",
      "type": "grpc",
      "methods": [
        {
          "name": "ClusterService",
          "name_key": "ClusterService.ClusterService",
          "input": "gRPC requests defined in cluster_service.proto",
          "output": "cluster lifecycle operations",
          "type": "grpc"
        }
      ]
    }
  ]
}
