forked from TrueCloudLab/multinet
19 lines
217 B
Go
19 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"
|
|
}
|