Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRequests ¶
func GenerateRequests(servers []string, rpm int, rampPeriod time.Duration) chan NTPResponse
GenerateRequests generates NTP requests to the given servers at the given Requests Per Minute (RPM) building up from 0 rpm to the given rpm over the given ramp period in seconds and returns a channel of `NTPResponse`s.
func Ping ¶
func Ping(server string, count int, out chan NTPResponse)
Ping sends `count` number of NTP requests to the given server, sending the response to the given `out` channel.
Types ¶
Click to show internal directories.
Click to hide internal directories.