Documentation
¶
Overview ¶
Package digitalelement is written to de data written in a MMDB file the MMDB file contain the country,region and city code for particular ip ranges and then we get the corresponding name of country with the help of data map initialized when connecting to the database
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataFiles ¶
type DataFiles struct {
V4Database string
V6Database string
CountryCode string
RegionCode string
CityCode string
CountryCorrection string
CityCorrection string
}
DataFiles struct contains the path to all the files which are required to connect to the digitalelement database and get the data in the desired format
Click to show internal directories.
Click to hide internal directories.