dto

package
v0.0.0-...-b791eb8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPInfoResponse

type IPInfoResponse struct {
	ASN      map[string]interface{} `json:"asn"`
	IP       string                 `json:"ip"`
	Domain   string                 `json:"domain"`
	Hostname string                 `json:"hostname"`
	City     string                 `json:"city"`
	Region   string                 `json:"region"`
	Country  string                 `json:"country"`
	Loc      string                 `json:"loc"`
	Org      string                 `json:"org"`
	Postal   string                 `json:"postal"`
	Timezone string                 `json:"timezone"`
	Readme   string                 `json:"readme"`
}

IPInfoResponse struct holds the response from the IPInfo API

Jump to

Keyboard shortcuts

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