SYMBOL INDEX (96 symbols across 22 files) FILE: cmd/multiping/destination.go type history (line 13) | type history struct method addResult (line 44) | func (s *history) addResult(rtt time.Duration, err error) { method compute (line 55) | func (s *history) compute() (st stat) { type destination (line 20) | type destination struct method ping (line 36) | func (u *destination) ping(pinger *ping.Pinger) { type stat (line 26) | type stat struct FILE: cmd/multiping/destination_test.go function TestComputeStats (line 10) | func TestComputeStats(t *testing.T) { FILE: cmd/multiping/main.go function main (line 37) | func main() { function work (line 99) | func work() { FILE: cmd/multiping/resolve.go function resolve (line 10) | func resolve(addr string, timeout time.Duration) ([]net.IPAddr, error) { FILE: cmd/multiping/ui.go type userInterface (line 13) | type userInterface struct method Run (line 136) | func (ui *userInterface) Run() error { method update (line 141) | func (ui *userInterface) update(interval time.Duration) { function buildTUI (line 73) | func buildTUI(destinations []*destination) *userInterface { constant tsDividend (line 159) | tsDividend = float64(time.Millisecond) / float64(time.Nanosecond) function ts (line 161) | func ts(dur time.Duration) string { FILE: cmd/ping-monitor/main.go function main (line 25) | func main() { FILE: cmd/ping-test/main.go function main (line 27) | func main() { function unicastPing (line 94) | func unicastPing() { function multicastPing (line 105) | func multicastPing() { FILE: cmd/pingnet/main.go type workGenerator (line 33) | type workGenerator struct method size (line 38) | func (w *workGenerator) size() uint64 { method each (line 43) | func (w *workGenerator) each(callback func(net.IP) error) error { type result (line 64) | type result struct function main (line 70) | func main() { FILE: error.go type timeoutError (line 12) | type timeoutError struct method Error (line 14) | func (e *timeoutError) Error() string { return "i/o timeout" } method Timeout (line 15) | func (e *timeoutError) Timeout() bool { return true } method Temporary (line 16) | func (e *timeoutError) Temporary() bool { return true } FILE: monitor/history.go type Result (line 12) | type Result struct type History (line 18) | type History struct method AddResult (line 33) | func (h *History) AddResult(rtt time.Duration, err error) { method clear (line 46) | func (h *History) clear() { method ComputeAndClear (line 52) | func (h *History) ComputeAndClear() *Metrics { method Compute (line 61) | func (h *History) Compute() *Metrics { method compute (line 67) | func (h *History) compute() *Metrics { function NewHistory (line 26) | func NewHistory(capacity int) History { FILE: monitor/history_test.go function BenchmarkAddResult (line 12) | func BenchmarkAddResult(b *testing.B) { function BenchmarkCompute (line 19) | func BenchmarkCompute(b *testing.B) { function TestCompute (line 27) | func TestCompute(t *testing.T) { function TestHistoryCapacity (line 118) | func TestHistoryCapacity(t *testing.T) { FILE: monitor/metrics.go type Metrics (line 4) | type Metrics struct FILE: monitor/monitor.go type Monitor (line 12) | type Monitor struct method Stop (line 37) | func (p *Monitor) Stop() { method AddTarget (line 49) | func (p *Monitor) AddTarget(key string, addr net.IPAddr) (err error) { method AddTargetDelayed (line 54) | func (p *Monitor) AddTargetDelayed(key string, addr net.IPAddr, startu... method RemoveTarget (line 68) | func (p *Monitor) RemoveTarget(key string) { method removeTarget (line 76) | func (p *Monitor) removeTarget(key string) { method ExportAndClear (line 87) | func (p *Monitor) ExportAndClear() map[string]*Metrics { method Export (line 92) | func (p *Monitor) Export() map[string]*Metrics { method export (line 96) | func (p *Monitor) export(clear bool) map[string]*Metrics { constant defaultHistorySize (line 22) | defaultHistorySize = 10 function New (line 26) | func New(pinger *ping.Pinger, interval, timeout time.Duration) *Monitor { FILE: monitor/target.go type Target (line 12) | type Target struct method run (line 37) | func (n *Target) run(startupDelay time.Duration) { method Stop (line 59) | func (n *Target) Stop() { method Compute (line 65) | func (n *Target) Compute(clear bool) *Metrics { method ping (line 72) | func (n *Target) ping() { function newTarget (line 23) | func newTarget(interval, timeout, startupDelay time.Duration, historySiz... FILE: payload.go type Payload (line 23) | type Payload method Resize (line 26) | func (p *Payload) Resize(size uint16) { FILE: pinger.go constant ProtocolICMP (line 14) | ProtocolICMP = 1 constant ProtocolICMPv6 (line 18) | ProtocolICMPv6 = 58 type Pinger (line 25) | type Pinger struct method Close (line 85) | func (pinger *Pinger) Close() { method close (line 100) | func (pinger *Pinger) close(conn net.PacketConn) { method removeRequest (line 106) | func (pinger *Pinger) removeRequest(idseq uint32) { method SetPayloadSize (line 116) | func (pinger *Pinger) SetPayloadSize(size uint16) { method SetPayload (line 123) | func (pinger *Pinger) SetPayload(data []byte) { method PayloadSize (line 130) | func (pinger *Pinger) PayloadSize() uint16 { function New (line 44) | func New(bind4, bind6 string) (*Pinger, error) { function connectICMP (line 92) | func connectICMP(network, address string) (*icmp.PacketConn, error) { FILE: pinger_linux.go function getFD (line 13) | func getFD(c *icmp.PacketConn) (uintptr, error) { method SetMark (line 32) | func (pinger *Pinger) SetMark(mark uint) error { FILE: pinger_other.go method SetMark (line 7) | func (pinger *Pinger) SetMark(mark uint) error { FILE: pinger_test.go function TestPinger (line 12) | func TestPinger(t *testing.T) { FILE: receiving.go method receiver (line 15) | func (pinger *Pinger) receiver(proto int, conn net.PacketConn) { method receive (line 42) | func (pinger *Pinger) receive(proto int, bytes []byte, addr net.IP, t ti... method process (line 92) | func (pinger *Pinger) process(body icmp.MessageBody, result error, addr ... FILE: request.go type request (line 9) | type request interface type multiRequest (line 16) | type multiRequest struct method init (line 74) | func (req *multiRequest) init() { method close (line 79) | func (req *multiRequest) close() { method handleReply (line 87) | func (req *multiRequest) handleReply(err error, addr net.IP, tRecv *ti... type Reply (line 24) | type Reply struct type simpleRequest (line 30) | type simpleRequest struct method handleReply (line 39) | func (req *simpleRequest) handleReply(err error, _ net.IP, tRecv *time... method init (line 49) | func (req *simpleRequest) init() { method close (line 54) | func (req *simpleRequest) close() { method roundTripTime (line 64) | func (req *simpleRequest) roundTripTime() (time.Duration, error) { FILE: sending.go method PingAttempts (line 18) | func (pinger *Pinger) PingAttempts(destination *net.IPAddr, timeout time... method Ping (line 34) | func (pinger *Pinger) Ping(destination *net.IPAddr, timeout time.Duratio... method PingContext (line 42) | func (pinger *Pinger) PingContext(ctx context.Context, destination *net.... method PingMulticast (line 70) | func (pinger *Pinger) PingMulticast(destination *net.IPAddr, wait time.D... method PingMulticastContext (line 77) | func (pinger *Pinger) PingMulticastContext(ctx context.Context, destinat... method sendRequest (line 99) | func (pinger *Pinger) sendRequest(destination *net.IPAddr, req request) ...