| 10 | ) |
| 11 | |
| 12 | type rateLimitedLogger struct { |
| 13 | logger *log.Logger |
| 14 | limiter *rate.Limiter |
| 15 | } |
| 16 | |
| 17 | func newRateLimitedLogger(out io.Writer, prefix string, flag int) *rateLimitedLogger { |
| 18 | return &rateLimitedLogger{ |
nothing calls this directly
no outgoing calls
no test coverage detected