Add NTP service

This commit is contained in:
世界
2023-02-21 16:09:06 +08:00
parent 5635d6a4dc
commit 7ce6f68b5f
26 changed files with 186 additions and 26 deletions
+1
View File
@@ -90,6 +90,7 @@ func NewECHClient(router adapter.Router, serverAddress string, options option.Ou
}
var tlsConfig cftls.Config
tlsConfig.Time = router.TimeFunc()
if options.DisableSNI {
tlsConfig.ServerName = "127.0.0.1"
} else {