Harden core packages and add interactive CLI config builder (rud config/validate/test)
This commit is contained in:
parent
d37503c863
commit
99e24be6c9
29 changed files with 6763 additions and 165 deletions
12
internal/checker/ping_other.go
Normal file
12
internal/checker/ping_other.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//go:build !linux
|
||||
|
||||
package checker
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
)
|
||||
|
||||
func nativeICMPPing(ctx context.Context, host string, count int, timeout time.Duration, privilegedOnly bool) (float64, error) {
|
||||
return 0, errICMPUnavailable
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue