Versions in this module Expand all Collapse all v0 v0.1.3 Oct 22, 2019 v0.1.2 Sep 17, 2019 v0.1.1 Jul 3, 2019 v0.1.0 Jul 2, 2019 Changes in this version + var DefaultClient = &Client + type Client struct + func (c *Client) Do(ctx context.Context, req *Request) (*Response, error) + type Request struct + Data []byte + Dst net.IP + ID int + Seq int + Src net.IP + func NewRequest(dst string) (*Request, error) + func NewRequest6(dst string) (*Request, error) + type Response struct + Data []byte + Dst net.IP + ID int + RTT time.Duration + Req *Request + Seq uint + Src net.IP + TTL int + TotalLength int + func Do(ctx context.Context, req *Request) (*Response, error) + func IPv4(ctx context.Context, dst string) (*Response, error) + func IPv6(ctx context.Context, dst string) (*Response, error)