Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadGeoIPDatabaseJob ¶
type DownloadGeoIPDatabaseJob struct {
GeoDBDownloader *geoip.DatabaseDownloader
}
DownloadGeoIPDatabaseJob is a background job for updating the GeoIP database
func (DownloadGeoIPDatabaseJob) Name ¶
func (job DownloadGeoIPDatabaseJob) Name() string
Name returns the name of the job
func (DownloadGeoIPDatabaseJob) Run ¶
func (job DownloadGeoIPDatabaseJob) Run()
Run runs the job and logs errors
Click to show internal directories.
Click to hide internal directories.