code: func DialOpts(opts *Opts) (*Client, error) {
  	var conn net.Conn
  	var err error
  	if opts.TLS {
  		conn, err = tls.Dial("tcp", opts.Addr, opts.TLSConfig)
  	} else {
  		conn, err = net.DialTimeout("tcp", opts.Addr, 10*time.Second)
  	}
  	if err != nil {
  		return nil, err
  	}
  	return initClient(conn, opts)
  }
docs: // DialOpts is a parameterized Dial