diff options
Diffstat (limited to 'Sources/Helpers.swift')
-rw-r--r-- | Sources/Helpers.swift | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Sources/Helpers.swift b/Sources/Helpers.swift deleted file mode 100644 index caf841b..0000000 --- a/Sources/Helpers.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Foundation - -let versionString = "generated and served by swift-gopher/1.0.0" // TODO: Handle automatic versioning - -func buildVersionStringResponse() -> String { - let repeatedString = "i" + String(repeating: "-", count: 80) + "\t\terror.host\t1\r\n" - let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\t\terror.host\t1\r\n" - return "\(repeatedString)\(versionResponseString)" -}
\ No newline at end of file |