See Storage for documentation.
(key interface{})
| 35 | |
| 36 | // See Storage for documentation. |
| 37 | func (s *RateLimitedStorage) Get(key interface{}) (interface{}, error) { |
| 38 | s.wait() |
| 39 | defer s.signal() |
| 40 | |
| 41 | return s.storage.Get(key) |
| 42 | } |
| 43 | |
| 44 | // See Storage for documentation. |
| 45 | func (s *RateLimitedStorage) GetMulti( |