Versions in this module Expand all Collapse all v1 v1.6.5 May 1, 2026 Changes in this version + var RuntimeMu sync.Mutex + type AnnotateIPsRequest struct + DataProvider string + IPv4Only bool + IPv6Only bool + Language string + Text string + TimeoutMs int + type AnnotateIPsResponse struct + Parameters ParameterBoundaries + Text string + type Attempt struct + Error string + Geo *ipgeo.IPGeoData + Hostname string + IP string + MPLS []string + RTTMs float64 + Success bool + type CapabilitiesRequest struct + type CapabilitiesResponse struct + Parameters ParameterBoundaries + Tools []ToolCapability + type GeoLookupRequest struct + DataProvider string + Language string + Query string + type GeoLookupResponse struct + Geo *ipgeo.IPGeoData + Parameters ParameterBoundaries + Query string + type GlobalpingCreateLimit struct + Limit int64 + Remaining int64 + Reset int64 + Type string + type GlobalpingCreditLimits struct + Remaining int64 + type GlobalpingGetMeasurementRequest struct + MeasurementID string + type GlobalpingHop struct + ASN []int + ResolvedAddress string + ResolvedHostname string + Stats *GlobalpingMTRStats + TTL int + TimingsMs []float64 + type GlobalpingLimitsRequest struct + type GlobalpingLimitsResponse struct + Credits GlobalpingCreditLimits + Measurements GlobalpingMeasurementLimits + Parameters ParameterBoundaries + type GlobalpingMTRStats struct + Avg float64 + Drop int + JAvg float64 + JMax float64 + JMin float64 + Loss float64 + Max float64 + Min float64 + Rcv int + StDev float64 + Total int + type GlobalpingMeasurementLimits struct + Create GlobalpingCreateLimit + type GlobalpingMeasurementResponse struct + MeasurementID string + Parameters ParameterBoundaries + ProbesCount int + Results []GlobalpingProbeResult + Status string + Target string + Type string + type GlobalpingProbeInfo struct + ASN int + City string + Continent string + Country string + Network string + Region string + State string + Tags []string + type GlobalpingProbeResult struct + Hops []GlobalpingHop + Probe GlobalpingProbeInfo + RawOutput string + ResolvedAddress string + ResolvedHostname string + Status string + type GlobalpingTraceRequest struct + IPVersion int + Limit int + Locations []string + Packets int + Port int + Protocol string + Target string + type Hop struct + Attempts []Attempt + TTL int + type MTRRawRequest struct + DurationMs int + HopIntervalMs int + MaxPerHop int + type MTRRawResponse struct + DurationMs int64 + Parameters ParameterBoundaries + Protocol string + Records []trace.MTRRawRecord + ResolvedIP string + Target string + Warnings []string + type MTRReportRequest struct + HopIntervalMs int + MaxPerHop int + type MTRReportResponse struct + DurationMs int64 + Parameters ParameterBoundaries + Protocol string + ResolvedIP string + Stats []trace.MTRHopStat + Target string + type MTUTraceRequest struct + AlwaysRDNS bool + BeginHop int + DataProvider string + DisableRDNS bool + DotServer string + IPv4Only bool + IPv6Only bool + Language string + MaxHops int + Port int + Queries int + SourceAddress string + SourceDevice string + SourcePort int + TTLIntervalMs int + Target string + TimeoutMs int + type MTUTraceResponse struct + DurationMs int64 + Hops []mtutrace.Hop + IPVersion int + Parameters ParameterBoundaries + PathMTU int + ProbeSize int + Protocol string + ResolvedIP string + StartMTU int + Target string + type ParameterBoundaries struct + NotApplicable []string + NotYetSupported []string + Supported []string + type Service struct + func New() *Service + func (s *Service) AnnotateIPs(ctx context.Context, req AnnotateIPsRequest) (AnnotateIPsResponse, error) + func (s *Service) Capabilities(context.Context, CapabilitiesRequest) (CapabilitiesResponse, error) + func (s *Service) GeoLookup(ctx context.Context, req GeoLookupRequest) (GeoLookupResponse, error) + func (s *Service) GlobalpingGetMeasurement(ctx context.Context, req GlobalpingGetMeasurementRequest) (GlobalpingMeasurementResponse, error) + func (s *Service) GlobalpingLimits(ctx context.Context, _ GlobalpingLimitsRequest) (GlobalpingLimitsResponse, error) + func (s *Service) GlobalpingTrace(ctx context.Context, req GlobalpingTraceRequest) (GlobalpingMeasurementResponse, error) + func (s *Service) MTRRaw(ctx context.Context, req MTRRawRequest) (MTRRawResponse, error) + func (s *Service) MTRReport(ctx context.Context, req MTRReportRequest) (MTRReportResponse, error) + func (s *Service) MTUTrace(ctx context.Context, req MTUTraceRequest) (MTUTraceResponse, error) + func (s *Service) SpeedTest(ctx context.Context, req SpeedTestRequest) (SpeedTestResponse, error) + func (s *Service) Traceroute(ctx context.Context, req TraceRequest) (TraceResponse, error) + type SpeedTestRequest struct + DotServer string + EndpointIP string + Language string + LatencyCount int + Max string + NoMetadata bool + Provider string + SourceAddress string + SourceDevice string + Threads int + TimeoutMs int + type SpeedTestResponse struct + Parameters ParameterBoundaries + Result speedresult.RunResult + type ToolCapability struct + Description string + Name string + Parameters ParameterBoundaries + type TraceRequest struct + AlwaysRDNS bool + BeginHop int + DN42 bool + DataProvider string + DisableMPLS bool + DisableMaptrace bool + DisableRDNS bool + DotServer string + ICMPMode int + IPv4Only bool + IPv6Only bool + Language string + MaxAttempts int + MaxHops int + PacketInterval int + PacketSize *int + ParallelRequests int + Port int + PowProvider string + Protocol string + Queries int + SourceAddress string + SourceDevice string + SourcePort int + TOS *int + TTLInterval int + Target string + TimeoutMs int + type TraceResponse struct + DataProvider string + DurationMs int64 + Hops []Hop + Language string + Parameters ParameterBoundaries + Protocol string + ResolvedIP string + Target string