IgnoreKey 忽略某个Key,即不缓存某个Key
(key string, maxSize int64)
| 414 | |
| 415 | // IgnoreKey 忽略某个Key,即不缓存某个Key |
| 416 | func (this *MemoryStorage) IgnoreKey(key string, maxSize int64) { |
| 417 | this.ignoreKeys.Push(types.String(maxSize) + "$" + key) |
| 418 | } |
| 419 | |
| 420 | // CanSendfile 是否支持Sendfile |
| 421 | func (this *MemoryStorage) CanSendfile() bool { |