Versions in this module Expand all Collapse all v0 v0.3.1 Oct 19, 2026 v0.3.0 Oct 19, 2026 Changes in this version + const ASNamesURL + const DatabaseType + const DefaultMaxAge + const DefaultMinPeers + const IPv4DumpURL + const IPv6DumpURL + const MinASNames + const MinIPv4Prefixes + const MinIPv6Prefixes + func ParseASNames(r io.Reader) (map[uint32]string, error) + func PublicASN(n uint32) bool + func Select(rows []Row, minPeers int) ([]Route, Stats) + func Verify(path string, routes []Route, names map[uint32]string, buildEpoch int64) error + func Write(w io.Writer, routes []Route, names map[uint32]string, buildEpoch int64, ...) error + type Dump struct + Generated time.Time + Rows []Row + func ParseDump(r io.Reader, ipv6 bool) (Dump, error) + type Options struct + ASNamesURL string + Client *http.Client + IPv4URL string + IPv6URL string + MaxAge time.Duration + MinIPv4 int + MinIPv6 int + MinNames int + MinPeers int + Now func() time.Time + Output string + type Route struct + Origin uint32 + Prefix netip.Prefix + type Row struct + Origin uint32 + Peers int + Prefix netip.Prefix + type Stats struct + ASSets int + BelowThreshold int + IPv4 int + IPv6 int + MOAS int + ReservedOrigin int + Rows int + Unroutable int + type Summary struct + ASNames int + Generated time.Time + Replaced bool + Source string + Stats Stats + func Build(ctx context.Context, opts Options) (Summary, error) v0.3.0-rc.1 Oct 6, 2026