Skip to content

brongineers/ripego

This branch is up to date with millken/ripego:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4aca71 · May 31, 2018

History

31 Commits
Feb 5, 2016
Feb 9, 2016
Jul 27, 2017
Feb 5, 2016
Nov 17, 2016
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
May 31, 2018
Nov 18, 2016
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
Jul 27, 2017
May 31, 2018
Jul 27, 2017

Repository files navigation

ripego

Build Status

This package detects the coordination center for the IPv4 address and makes IP Whois lookup. Retrieve all informations about IP adress. Supported registries: ripe, arin, apnic, afrinic, lacnic

Install

$ go get github.com/c1982/ripego

Usage

package main

import (
	"fmt"
	"log"
	"ripego"
)

func main() {

	w, err := ripego.IPLookup("178.18.196.250")

	if err != nil {
		log.Fatal(err)
	}

	fmt.Println("Inetnum: " + w.Inetnum)
	fmt.Println("Desc: " + w.Descr)
}

//Output:
//Inetnum: 178.18.192.0 - 178.18.207.255
//Desc: Vargonen Teknoloji ve Bilisim Sanayi Ticaret Anonim Sirketi

Contact

aspsrc@gmail.com

Oğuzhan

About

IP Whois Golang Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%