12 lines
242 B
Go
12 lines
242 B
Go
package host
|
|
|
|
import (
|
|
omd "git.loafle.net/overflow/model/discovery"
|
|
ounp "git.loafle.net/overflow/util-go/net/ping"
|
|
)
|
|
|
|
func Ping(host *omd.Host, pingOption ounp.Option) (ounp.Result, error) {
|
|
|
|
return ounp.Ping(host.Address, pingOption)
|
|
}
|