Versions in this module Expand all Collapse all v2 v2.3.7 May 7, 2024 v2.3.6 Apr 5, 2024 v2.3.5 Dec 15, 2023 v2.3.4 Nov 20, 2023 Changes in this version + func GetCommands(base bot.BaseCommand, config *config.Config) bot.Commands + type Config struct + APIKey string + APIURL string + StreamURL string + UpdateInterval time.Duration + func (c *Config) IsEnabled() bool + type CreditsResponse struct + CalculationTime string + CreditChecked bool + CurrentBalance int + EstimatedDailyBalance int + EstimatedDailyExpenditure int + EstimatedDailyIncome int + EstimatedRunoutSeconds any + ExpenseItems string + IncomeItems string + LastDateCredited string + LastDateDebited string + MaxDailyCredits int + PastDayCreditsSpent int + PastDayMeasurementResults int + Transactions string + type HopResult struct + From string + Loss string + Rtt float64 + Size int + TTL int + type Measurement struct + AddressFamily int + CreationTime int + CreditsPerResult int + Description string + EstimatedResultsPerDay int + Group string + GroupID int64 + ID int + InWifiGroup bool + IncludeProbeID bool + Interval int + IsAllScheduled bool + IsOneoff bool + IsPublic bool + PacketInterval int64 + Packets int + ParticipantCount int64 + ProbesRequested int64 + ProbesScheduled int64 + ResolveOnProbe bool + ResolvedIps string + Result string + Size int64 + Spread int64 + StartTime int + Status MeasurementStatus + StopTime int + Tags []string + Target string + TargetAsn int64 + TargetIP string + TargetPrefix string + Type string + type MeasurementDefinition struct + Af int + Description string + DestinationOptionSize int + DontFragment bool + FirstHop int + HopByHopOptionSize int + IsPublic bool + MaxHops int + Packets int + Paris int + Protocol string + ResolveOnProbe bool + ResponseTimeout int + Size int + SkipDNSCheck bool + Target string + Type string + type MeasurementRequest struct + Definitions []MeasurementDefinition + IsOneOff bool + Probes []Probes + type MeasurementResult struct + Measurements []int + type MeasurementStatus struct + ID int + Name string + When any + type MeasurementsResponse struct + Count int + Measurements []Measurement + Next string + Previous string + type PayloadResult struct + Hop int + Result []HopResult + type Probes struct + Requested int + Type string + Value string + type StreamingResponse struct + Payload StreamingResponsePayload + Type string + func (sr *StreamingResponse) UnmarshalJSON(b []byte) error + type StreamingResponsePayload struct + Af int + DstAddr string + DstName string + Endtime int + From string + Fw int + GroupID int + Lts int + MsmID int + MsmName string + Mver string + ParisID int + PrbID int + Proto string + Result []PayloadResult + Size int + SrcAddr string + Timestamp int64 + Type string + func (srp StreamingResponsePayload) String() string