cmd

package
v0.0.0-...-a100065 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type IPInfo

type IPInfo struct {
	Ip  string `json:"ip"`
	Loc string `json:"loc"`
}

Define a struct to represent the response from the IP lookup API.

type MACInfo

type MACInfo struct {
	MacPrefix string `json:"macPrefix"`
	Company   string `json:"company"`
	Address   string `json:"address"`
	Country   string `json:"country"`
}

Define a struct to represent the JSON response from the MAC lookup API.

Jump to

Keyboard shortcuts

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