update README.md

This commit is contained in:
wenyifan
2022-09-08 00:12:01 +08:00
parent a983817b8d
commit c2ab6cbe5f
4 changed files with 29 additions and 25 deletions

View File

@ -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()