cloudip

package module
v0.0.0-...-2c4a1b2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 5 Imported by: 0

README

cloudip - a go tool for looking up cloud provider ip details

Currently supported:

  • AWS
  • GCP
  • Cloudflare

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPRange

type IPRange struct {
	Provider         Provider     `json:"provider"`
	Prefix           netip.Prefix `json:"prefix"`
	Region           string       `json:"region"`
	Services         []string     `json:"services"`
	ProviderSpecific any          `json:"provider_specific"`
}

func Lookup

func Lookup(ip netip.Addr) *IPRange

type Provider

type Provider string
const (
	AWS        Provider = "AWS"
	GCP        Provider = "GCP"
	Cloudflare Provider = "CLOUDFLARE"
	GitHub     Provider = "GITHUB"
)

Directories

Path Synopsis
cmd
cloudip command

Jump to

Keyboard shortcuts

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