update README.md
This commit is contained in:
@ -11,8 +11,8 @@ import (
|
||||
func TestName(t *testing.T) {
|
||||
dial, err := tls.DialWithDialer(&net.Dialer{
|
||||
Timeout: time.Second * 5,
|
||||
}, "tcp", "www.baidu.com:443", &tls.Config{
|
||||
ServerName: "www.baidu.com",
|
||||
}, "tcp", "evan.run:443", &tls.Config{
|
||||
ServerName: "evan.run",
|
||||
})
|
||||
|
||||
err = dial.Handshake()
|
||||
|
Reference in New Issue
Block a user