Last active
March 21, 2017 21:04
-
-
Save emenegro/1b73ac4d0f346263f296e7ec6af1d11c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct OfflineAction { | |
enum `Type` { | |
case cache, get, delete | |
} | |
fileprivate(set) var type: Type? | |
fileprivate(set) var request: OfflineRequestConvertible? | |
fileprivate(set) var data: Data? | |
fileprivate(set) var id: String? | |
fileprivate(set) var encryptionKey: String? | |
fileprivate(set) var keepAliveUntil: Date? | |
fileprivate(set) var ifBefore: Date? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment