- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for eth1 (0.04 sec)
-
cmd/net_test.go
}{ {"localhost", false}, {"localhost:9000", false}, {"example.com", false}, {"http://192.168.1.0", false}, {"http://192.168.1.0:9000", false}, {"192.168.1.0", true}, {"[2001:3984:3989::20%eth0]:9000", true}, } for _, testCase := range testCases { ret := isHostIP(testCase.args) if testCase.expectedResult != ret { t.Fatalf("expected: %v , got: %v", testCase.expectedResult, ret) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)