tranco

package
v0.0.0-...-933d4dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	Name string
	Rank int
}

type TrancoList

type TrancoList struct {
	// contains filtered or unexported fields
}

func NewTrancoList

func NewTrancoList(cacheDir, trancoID string) (*TrancoList, error)

NewTrancoList loads the given Tranco list from the cacheDir, downloading it if needed.

func (*TrancoList) TopDomains

func (l *TrancoList) TopDomains(topN int) ([]Domain, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL