IP address lookup using MaxMind GeoLite2 database
This commit is contained in:
7
lib/maxminddb/const.py
Normal file
7
lib/maxminddb/const.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""Constants used in the API"""
|
||||
|
||||
MODE_AUTO = 0
|
||||
MODE_MMAP_EXT = 1
|
||||
MODE_MMAP = 2
|
||||
MODE_FILE = 4
|
||||
MODE_MEMORY = 8
|
Reference in New Issue
Block a user