Skip to content

ebfe/ipcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

IP to country code mapping

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages