Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 737 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 737 Bytes

Ispdb Api Handler

About

This is simple go-application for looking imap/pop3/smtp config from ISP DB by Mozilla (Thunderbird autoconfig) with local caching configs and web api.

Features

Flags to execute

--update-threads=100 - default 100 threads at the pool for downloader cache
--port=37896 - port for api handler
--update-cache=1 - need update cache from ISPDB mozilla before run web api OR configs will be load from cache-file

Usage

-> localhost:37896/find/gmail.com
You will get answer with json config OR message - Not Found!

Requirements

github.com/PuerkitoBio/goquery v1.6.1
github.com/cheggaaa/pb/v3 v3.0.5
github.com/gammazero/workerpool v1.1.1
github.com/gorilla/mux v1.8.0