mirror of
https://github.com/hyperoslo/Cache.git
synced 2026-04-07 19:17:36 +00:00
10 lines
200 B
Swift
10 lines
200 B
Swift
import Foundation
|
|
|
|
/// A wrapper around cached object and its expiry date.
|
|
public struct Entry<T: Codable> {
|
|
/// Cached object
|
|
public let object: T
|
|
/// Expiry date
|
|
public let expiry: Expiry
|
|
}
|