Versions in this module Expand all Collapse all v0 v0.0.4 Jan 24, 2023 Changes in this version type TraceRouteLine + Err error + type Traceroute struct + func New(ip netip.Addr) (*Traceroute, error) + func (tr *Traceroute) Read() (*TraceRouteLine, error) + func (tr *Traceroute) ReadAll() ([]*TraceRouteLine, error) + func (tr *Traceroute) Start(ctx context.Context) error v0.0.3 Dec 7, 2022 v0.0.2 Jul 8, 2021 v0.0.1 Jul 8, 2021 Changes in this version + type Latency struct + Error string + Ms float64 + func (l Latency) String() string + type TraceRouteLine struct + ASN int + Hop int + IP string + Latency []Latency + Name string + func (tr *TraceRouteLine) Bytes() []byte + func (tr *TraceRouteLine) Error() error + func (tr *TraceRouteLine) JSON() []byte + func (tr *TraceRouteLine) String() string + func (tr *TraceRouteLine) UpdateASN() error + func (tr *TraceRouteLine) UpdateName() error + type TracerouteParser struct + func NewTracerouteParser() *TracerouteParser + func (trp *TracerouteParser) Add(line string) + func (trp *TracerouteParser) Close() + func (trp *TracerouteParser) Read() cmdparser.ParserOutput