jsonip

package module
v0.0.0-...-891999a Latest Latest
Warning

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

Go to latest
Published: May 23, 2017 License: BSD-2-Clause Imports: 2 Imported by: 0

README

JSONIP or Golang

License Go Report Card GoDoc Build Status

How to install

go get github.com/klrkdekira/jsonip

Install the command

go get github.com/klrkdekira/jsonip/cmd/jsonip
Usage
Usage of jsonip:
  -ipv6
    	Show IPv6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONIP

type JSONIP struct {
	IP string `json:"ip"`
}

IP information

func IPv4

func IPv4() (*JSONIP, error)

Fetch IPv4

func IPv6

func IPv6() (*JSONIP, error)

Fetch IPv6

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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