| 102 | } |
| 103 | |
| 104 | type RatelimitedConn struct { |
| 105 | net.Conn |
| 106 | After int64 |
| 107 | Bucket *ratelimit.Bucket |
| 108 | } |
| 109 | |
| 110 | func (c *RatelimitedConn) Read(b []byte) (int, error) { |
| 111 | n, err := c.Conn.Read(b) |
nothing calls this directly
no outgoing calls
no test coverage detected