asn

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeASNName added in v0.5.0

func NormalizeASNName(asnName string) string

Types

type ASLookupResponse

type ASLookupResponse struct {
	Asn      string `json:"asn"`
	AsnName  string `json:"asn_name"`
	AsnRange string `json:"asn_range"`
	Country  string `json:"country"`
	IP       string `json:"ip"`
}

func FetchASLookupHackerTarget added in v0.9.0

func FetchASLookupHackerTarget(ip string) (*ASLookupResponse, error)

FetchASLookupHackerTarget exposes the HackerTarget lookup for integration tests.

func FetchASLookupTeamCymru added in v0.9.0

func FetchASLookupTeamCymru(ip string) (*ASLookupResponse, error)

FetchASLookupTeamCymru exposes the Team Cymru lookup for integration tests.

func GetASLookup

func GetASLookup(ip string) (*ASLookupResponse, error)

Jump to

Keyboard shortcuts

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