Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
usage
.gitignore
.gopmfile
LICENSE
README.md
afrinic.go
apnic.go
arin.go
helper.go
helper_test.go
lacnic.go
ripe.go
whois.go
whois_test.go

README.md

ripego

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

Bu paket IPv4 adresini ilgili koordinasyon merkezini tespit ederek Whois sorgulaması yapar ve IP hakkında bilgiyi getirir. Desteklediği kordinasyon merkezleri: ripe, arin, apnic, afrinic, lacnic

Install / Yükleme

$ go get github.com/c1982/ripego

Usage / Kullanım

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