cmd

package
v0.0.0-...-fc89887 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

*********************************************** * copyright: github.com/akashchouhan16/traceip * author: akashchouhan16 ************************************************

*********************************************** * copyright: github.com/akashchouhan16/traceip * author: akashchouhan16 ************************************************

*********************************************** * copyright: github.com/akashchouhan16/traceip * author: akashchouhan16 ************************************************

*********************************************** * copyright: github.com/akashchouhan16/traceip * author: akashchouhan16 ************************************************

*********************************************** * copyright: github.com/akashchouhan16/traceip * author: akashchouhan16 ************************************************

Index

Constants

This section is empty.

Variables

View Source
var (
	Warn     *log.Logger
	Info     *log.Logger
	Error    *log.Logger
	CLIFlags flag
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type GeoLocation

type GeoLocation struct {
	IP       string `json:"ip"`
	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"`
}

Jump to

Keyboard shortcuts

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