From 3f9d3382f58f8cc49e8d434dbac92ab2daf7a6f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Wed, 30 Oct 2024 22:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=BF=9E=E6=8E=A5=EF=BC=8C?= =?UTF-8?q?=E7=94=A8=E4=BA=8E=E9=AA=8C=E8=AF=81ip=EF=BC=8C=E5=90=8E?= =?UTF-8?q?=E7=BB=AD=E6=8A=93=E5=8C=85=E5=A2=9E=E5=8A=A0=E5=8F=AF=E7=94=A8?= =?UTF-8?q?ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/Connect/main.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 example/Connect/main.go diff --git a/example/Connect/main.go b/example/Connect/main.go new file mode 100644 index 0000000..0a78268 --- /dev/null +++ b/example/Connect/main.go @@ -0,0 +1,12 @@ +package main + +import ( + "github.com/injoyai/logs" + "github.com/injoyai/tdx" +) + +func main() { + c, err := tdx.Dial("122.51.120.217:7709") + logs.PanicErr(err) + <-c.Done() +}