mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
The RPC() function isn't called, since Listen() was modified to do this job. Listen() has the right signature, since it returns a drpc.Conn, rather than the Agent API. That's because tailnet v2 and agent v2 are separate APIs served over the same connection. It might be clearer to rename `Listen()` to `RPC()` but I'll save that for a different PR.