W" data-enlighter-language="golang">type Server struct {
    Addr     string
    Port     int
    Protocol string
    Timeout  time.Duration
    MaxConns int
    TLS      *tls.Config
}</pre>
<p>在这个 <code>Server</code> 对象中，我们可以看到：</p>
<p> <a href="/articles/21146.html#more-21146" class="more-link">…</a></p><a href="/articles/21146.html#more-21146" class="more-link">
</a><p class="read-more"><a href="/articles/21146.html#more-21146" class="more-link"></a><a class="btn btn