mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
测试DialHostsRange
This commit is contained in:
11
example/DialHostsRange/main.go
Normal file
11
example/DialHostsRange/main.go
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/injoyai/logs"
|
||||||
|
"github.com/injoyai/tdx"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
_, err := tdx.DialHostsRange([]string{"1", "2", "127.0.0.1"})
|
||||||
|
logs.PrintErr(err)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user