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