mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 05:42:01 +08:00
- Added performance settings to the configuration, including max concurrent requests and caching options. - Updated API request handling to use context for timeouts and improved logging with Unix timestamps. - Introduced rate limiting middleware to manage request load effectively. - Enhanced metrics logging to include atomic counters for request counts and improved data structure for performance metrics. - Implemented caching for CSV content to optimize data retrieval and reduce load times.
3 lines
153 B
Plaintext
3 lines
153 B
Plaintext
golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=
|
|
golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
|