mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
Rewrite from feat-formmailer WIP: - Blacklist is *dataset.View[ipcohort.Cohort] — caller wires dataset group - http.Handler via ServeHTTP — drop-in for any mux - SuccessBody/ErrorBody []byte — caller loads files; no file I/O per request - Rate limiter per-instance (sync.Once init), not global - Fields configurable (default standard names, not GravityForms input_N) - AllowedCountries []string for geo-blocking via iploc (nil = allow all) - ContainsAddr used directly (pre-parsed netip.Addr, no re-parse) - No Init()/Run() — caller drives dataset lifecycle - Fix getErrorBotty typo; expose support email only to legitimate errors