Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Result ¶
type StreamEvent ¶
type StreamEvent struct {
Kind StreamEventKind `json:"kind"`
TTL int `json:"ttl,omitempty"`
Hop Hop `json:"hop,omitempty"`
Target string `json:"target"`
ResolvedIP string `json:"resolved_ip"`
Protocol string `json:"protocol"`
IPVersion int `json:"ip_version"`
StartMTU int `json:"start_mtu"`
ProbeSize int `json:"probe_size"`
PathMTU int `json:"path_mtu"`
}
type StreamEventKind ¶
type StreamEventKind string
const ( StreamEventTTLStart StreamEventKind = "ttl_start" StreamEventTTLUpdate StreamEventKind = "ttl_update" StreamEventTTLFinal StreamEventKind = "ttl_final" StreamEventDone StreamEventKind = "done" )
type StreamSink ¶
type StreamSink func(StreamEvent)
Click to show internal directories.
Click to hide internal directories.