MCPcopy Create free account
hub / github.com/ProspectOne/perfops-cli / runPing

Function runPing

cmd/ping.go:52–59  ·  view source on GitHub ↗
(c *perfops.Client, target, from string, nodeIDs []int, limit int, ipv6 bool)

Source from the content-addressed store, hash-verified

50}
51
52func runPing(c *perfops.Client, target, from string, nodeIDs []int, limit int, ipv6 bool) error {
53 ctx := context.Background()
54 ipversion := 4
55 if ipv6 {
56 ipversion = 6
57 }
58 return internal.RunTest(ctx, target, from, nodeIDs, limit, ipversion, debug, outputJSON, c.Run.Ping, c.Run.PingOutput)
59}

Callers 2

ping.goFile · 0.85
TestRunPingFunction · 0.85

Calls 1

RunTestFunction · 0.92

Tested by 1

TestRunPingFunction · 0.68