mirror of
https://github.com/status-im/proxy-common.git
synced 2026-08-27 10:31:14 +00:00
master
proxy-common
Go library providing common components for proxy services: authentication, caching, HTTP client utilities, API key management, rate limiting, and task scheduling.
Installation
go get github.com/status-im/proxy-common
Packages
| Package | Description | Documentation |
|---|---|---|
| auth | Proof-of-work auth service (Argon2 puzzles + JWT) | README |
| cache | Multi-level cache (L1 BigCache + L2 KeyDB/Redis) | README |
| httpclient | HTTP client with retries, backoff, rate limiting | README |
| apikeys | API key rotation with failure tracking and backoff | README |
| ratelimit | Per-key rate limiting (golang.org/x/time/rate) | README |
| scheduler | Background task scheduling at intervals | README |
| batch | Generic chunk processing for large datasets | README |
| models | Shared cache data models and types | README |
License
MIT License. See LICENSE file for details.
Languages
Go
95.4%
Shell
3.5%
Makefile
0.6%
Dockerfile
0.5%