summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadREST/Relay/RelayCandidates.swift
blob: 8a2c3a7f1b450c077a1dc159aa2c13277f3c02c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  RelayCandidates.swift
//  MullvadVPN
//
//  Created by Mojgan on 2025-03-03.
//  Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

public struct RelayCandidates: Equatable, Sendable {
    public let entryRelays: [RelayWithLocation<REST.ServerRelay>]?
    public let exitRelays: [RelayWithLocation<REST.ServerRelay>]
    public init(
        entryRelays: [RelayWithLocation<REST.ServerRelay>]?,
        exitRelays: [RelayWithLocation<REST.ServerRelay>]
    ) {
        self.entryRelays = entryRelays
        self.exitRelays = exitRelays
    }
}