mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-14 20:54:05 +00:00
16 lines
293 B
Swift
16 lines
293 B
Swift
import Foundation
|
|
|
|
public struct ProtoTcpPath: Equatable, Hashable {
|
|
let host: String
|
|
let port: Int32
|
|
|
|
public init(host: String, port: Int32) {
|
|
self.host = host
|
|
self.port = port
|
|
}
|
|
}
|
|
|
|
public enum ProtoPath: Equatable, Hashable {
|
|
case tcp(ProtoTcpPath)
|
|
}
|