2022-09-04 15:01:35 +02:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
struct ServerConfiguration: Codable {
|
|
|
|
|
2022-09-04 15:40:52 +02:00
|
|
|
let port: Int
|
|
|
|
|
2022-09-04 15:01:35 +02:00
|
|
|
let logPath: String
|
|
|
|
|
|
|
|
let privateKeyFilePath: String
|
|
|
|
|
|
|
|
let teamIdentifier: String
|
|
|
|
|
|
|
|
let keyIdentifier: String
|
|
|
|
|
|
|
|
let topic: String
|
|
|
|
|
|
|
|
let messageTitle: String
|
|
|
|
|
|
|
|
let messageBody: String
|
|
|
|
|
|
|
|
let buttonPin: Int
|
|
|
|
|
|
|
|
let bounceTime: Double
|
|
|
|
|
|
|
|
let tokens: [String]
|
|
|
|
}
|