aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-12 13:07:40 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-12 13:07:40 -0700
commit315e2510d577b7303f4b8204a4555aad26bc41a3 (patch)
treeec16e87bda839f71424d489d1e8dda96c69d504c
parentdf466eba1bd4c9728fdb66e1a5fcf0e89203cf39 (diff)
move files
-rw-r--r--Package.swift6
-rw-r--r--README.md3
-rw-r--r--Sources/swift-gopher/fileTypes.swift (renamed from Sources/fileTypes.swift)0
-rw-r--r--Sources/swift-gopher/gopherHandler.swift (renamed from Sources/gopherHandler.swift)0
-rw-r--r--Sources/swift-gopher/helpers.swift (renamed from Sources/Helpers.swift)0
-rw-r--r--Sources/swift-gopher/server.swift (renamed from Sources/server.swift)0
6 files changed, 8 insertions, 1 deletions
diff --git a/Package.swift b/Package.swift
index 0527f01..4fdc0ea 100644
--- a/Package.swift
+++ b/Package.swift
@@ -27,6 +27,12 @@ let package = Package(
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
]
+ ),
+ .target(
+ name: "swiftGopherClient",
+ dependencies: [
+ .product(name: "NIO", package: "swift-nio")
+ ]
)
]
)
diff --git a/README.md b/README.md
index e237947..461cef8 100644
--- a/README.md
+++ b/README.md
@@ -104,9 +104,10 @@ Although, `swift-gopher` does not currently have a native HTTP handler, you can
- [ ] Support Gemini Protocol
- [ ] Add a client library
- [ ] Add native HTTP handler
+- [ ] Guestbook
## Generating Docs
```bash
swift package --allow-writing-to-directory docs generate-documentation --transform-for-static-hosting --target swift-gopher --output-path docs --hosting-base-path swift-gopher
-``` \ No newline at end of file
+```
diff --git a/Sources/fileTypes.swift b/Sources/swift-gopher/fileTypes.swift
index 221b7b2..221b7b2 100644
--- a/Sources/fileTypes.swift
+++ b/Sources/swift-gopher/fileTypes.swift
diff --git a/Sources/gopherHandler.swift b/Sources/swift-gopher/gopherHandler.swift
index 00a3a30..00a3a30 100644
--- a/Sources/gopherHandler.swift
+++ b/Sources/swift-gopher/gopherHandler.swift
diff --git a/Sources/Helpers.swift b/Sources/swift-gopher/helpers.swift
index caf841b..caf841b 100644
--- a/Sources/Helpers.swift
+++ b/Sources/swift-gopher/helpers.swift
diff --git a/Sources/server.swift b/Sources/swift-gopher/server.swift
index c8cf97b..c8cf97b 100644
--- a/Sources/server.swift
+++ b/Sources/swift-gopher/server.swift