{
  "repo": "pingcap/tso",
  "binary": "tso-server",
  "binary_path": "tso-server/main.go",
  "kind": "service",
  "description": "Timestamp oracle server that listens on a custom TCP protocol for timestamp requests and exposes pprof through a side HTTP listener.",
  "interfaces": {
    "tcp": {
      "endpoints": [
        {
          "path": "custom TCP timestamp protocol",
          "method": "BINARY",
          "description": "Accepts timestamp request bytes and returns monotonic physical/logical timestamp pairs.",
          "implementation": "tso-server/server/server.go"
        }
      ]
    },
    "http": {
      "endpoints": [
        {
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "Exposes Go runtime profiling handlers on port 5555.",
          "implementation": "tso-server/main.go"
        }
      ]
    }
  }
}
