/span> <a href="https://pkg.go.dev/io"><span class="nx">io</span></a><span class="p">.</span><a href="https://pkg.go.dev/io#ReadWriter"><span class="nx">ReadWriter</span></a><span class="p">)</span> <a href="https://pkg.go.dev/builtin#error"><span class="kt">error</span></a></pre>
    <p>ServeAgent serves the agent protocol on the given connection. It
returns when an I/O error occurs.
<h3 id="pkg-types">Types</h3>
  <h3 id="AddedKey">type AddedKey</h3>
    <pre class="chroma"><span class="kd">type</span> <s