blob: a4cbcc93e5abfdfb8f5d4bfc8af08364d9f0da62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// CachedRelays.swift
// CachedRelays
//
// Created by pronebird on 27/07/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
import Foundation
extension RelayCache {
/// A struct that represents the relay cache on disk
struct CachedRelays: Codable {
/// E-tag returned by server
var etag: String?
/// The relay list stored within the cache entry
var relays: REST.ServerRelaysResponse
/// The date when this cache was last updated
var updatedAt: Date
}
}
|