/ipcc

IP to country code mapping

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

ipcc

import "github.com/ebfe/ipcc"

Package ipcc provides IP to country code mapping

func Lookup

func Lookup(ip net.IP) string

Lookup returns a 2 letter country code for the given IP or "" if the IP isn't found in the database.


Generated by godoc2md