whois

package
v0.0.0-...-a94ae77 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Whois

func Whois(ipAddr, apiToken string) string

Whois determines ip information from robowhois

Types

type Data

type Data struct {
	Response DataResponse `json:"response"`
}

Data is response body

type DataPart

type DataPart struct {
	Body string `json:"body"`
	Host string `json:"host"`
}

DataPart host/body of data

type DataResponse

type DataResponse struct {
	Daystamp string     `json:"daystamp"`
	Parts    []DataPart `json:"parts"`
}

DataResponse daystamp and parts

Jump to

Keyboard shortcuts

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