(id string, entry *proxycore.PreparedEntry)
| 999 | } |
| 1000 | |
| 1001 | func (d defaultPreparedCache) Store(id string, entry *proxycore.PreparedEntry) { |
| 1002 | d.cache.Add(id, entry) |
| 1003 | } |
| 1004 | |
| 1005 | func (d defaultPreparedCache) Load(id string) (entry *proxycore.PreparedEntry, ok bool) { |
| 1006 | if val, ok := d.cache.Get(id); ok { |