forked from TrueCloudLab/multinet
20 lines
217 B
Go
20 lines
217 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
const addr = "s01.frostfs.devenv:8080"
|
||
|
|
||
|
func main() {
|
||
|
_, err := net.Dial(getNetwork(), addr)
|
||
|
if err != nil {
|
||
|
log.Fatal(err)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func getNetwork() string {
|
||
|
return "tcp"
|
||
|
}
|