Versions in this module Expand all Collapse all v0 v0.0.10 Jun 24, 2024 v0.0.9 Jun 24, 2024 v0.0.8 Jun 23, 2024 v0.0.7 Jun 14, 2024 v0.0.6 Jun 14, 2024 v0.0.5 Jun 14, 2024 v0.0.4 Jun 14, 2024 v0.0.3 Jun 14, 2024 Changes in this version + const AS + const ASEgress + const ASIngress + const Addr + const ApplicationName + const Ascending + const Avg + const BGPLocalPref + const BGPMed + const BidirectionalLeft + const BidirectionalRight + const City + const Community + const Count + const Country + const Descending + const Device + const DstAS + const DstASPath + const DstAddr + const DstCity + const DstCountry + const DstMask + const DstPort + const ExporterAS + const ExporterID + const ExporterIP + const FlowRole + const Flows + const IPVersion + const InputInterface + const Interface + const L2EthernetType + const L2MACAddr + const L2MACDstAddr + const L2MACSrcAddr + const L3IPMaxTTL + const L3IPMaxTotalLength + const L3IPMinTTL + const L3IPMinTotalLength + const L3IPTTL + const L3IPTotalLength + const L4TCPFlag + const L4TCPFlagCount + const Location + const MPLSLabelStackDepth + const MPLSLabelStackLength + const MPLSPostTopLabelExp + const MPLSTopLabelExp + const MPLSTopLabelIPv4 + const MPLSTopLabelIPv6 + const MPLSTopLabelPrefixLength + const MPLSTopLabelStackSection + const MPLSTopLabelStackSection1 + const MPLSTopLabelStackSection2 + const MPLSTopLabelStackSection3 + const MPLSTopLabelStackSection4 + const MPLSTopLabelStackSection5 + const MPLSTopLabelStackSection6 + const MPLSTopLabelStackSection7 + const MPLSTopLabelStackSection8 + const MPLSTopLabelStackSection9 + const MPLSTopLabelTTL + const MPLSTopLabelType + const MPLSVpnRouteDistinguisher + const Max + const Min + const NextHop + const Octets + const OutputInterface + const Packets + const Port + const Protocol + const PseudoWireControlWord + const PseudoWireID + const PseudoWireType + const Seconds + const SrcAS + const SrcASPath + const SrcAddr + const SrcCity + const SrcCountry + const SrcMask + const SrcPort + const Sum + const TOS + const TS + const Uniq + type BaseFilter struct + Condition Condition + Rules []RuleP + type Condition string + const AND + const OR + func (con Condition) String() string + type CountryR struct + Code string + Name string + type Filter struct + Condition Condition + Rules []map[string]any + func AddRule[T RuleVal](f *Filter, key string, op Operator, value T) *Filter + func AddSubFilterRule(f *Filter, value *SubFilter) *Filter + func NewFilter(c Condition) *Filter + type Operator string + const EQ + const GE + const GT + const LE + const LT + const NEQ + func (op Operator) String() string + type PercentileData struct + Data float64 + Timestamp time.Time + func (p *PercentileData) UnmarshalJSON(b []byte) error + type QueryParameters struct + ASPathPrependRemove bool + AggregateBy string + AggregateFunction string + Dictionary bool + EndTime time.Time + Filters *Filter + FiltersNarrowBy []string + GroupBy string + GroupByBidirectional string + GroupByDstPrefix bool + GroupByDstPrefixLen bool + GroupBySrcPrefix bool + GroupBySrcPrefixLen bool + GroupByTSBidirectional bool + IsolateEmptySpaces bool + Order string + OrderBy string + OrderByBidirectional string + Page uint32 + PageSize uint16 + Percentile uint8 + RateUnit string + StartTime time.Time + Step uint32 + TableColumns []string + TableMinMax bool + Top uint32 + TrafficDirection string + func (q *QueryParameters) MarshalQuery() (map[string]string, error) + type QueryResults struct + Code string + type ResPercentileQuery struct + Data []PercentileData + Header []string + PercentileValue uint64 + QueryParams map[string]any + Results []QueryResults + Step int + Title string + type RuleInterface interface + Key func() string + Operator func() Operator + Value func() any + type RuleP struct + Key string + Operator Operator + Value any + type RuleVal interface + type SubFilter struct + Condition Condition + Rules []map[string]any + func AddSubRule[T RuleVal](sf *SubFilter, key string, op Operator, value T) *SubFilter + func NewSubFilter(c Condition) *SubFilter