2022-04-13 14:57:02 +02:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
struct Config {
|
|
|
|
|
|
|
|
/// The port where the server runs
|
|
|
|
static let port = 6003
|
|
|
|
|
|
|
|
/// The name of the file in the `Resources` folder containing the device authentication token
|
2022-05-01 13:42:44 +02:00
|
|
|
static let keyFileName = "keys"
|
2022-04-13 14:57:02 +02:00
|
|
|
|
|
|
|
/// The seconds to wait for a response from the device
|
|
|
|
static let deviceTimeout: Int64 = 20
|
|
|
|
}
|