Commit Graph

10 Commits (d6e0d21e89a99a9f61cd96e85d5c0900d7fbd7f6)

Author SHA1 Message Date
diff d6e0d21e89 Mention transfer.sh in README and add screenshots to README. 2021-03-25 05:35:34 +00:00
diff 697bf21eda Improve styling 2021-03-24 17:25:24 +00:00
diff 9d5d6acbfc Don't use fileName at all when uploading 2021-03-24 16:51:34 +00:00
diff c1edf992f9 Make sure all requests are complete before shutting down.
Missed a spot in the net/http docs. Calling Server.Shutdown() causes
ListenAndServe to return *immediately*, and when it does main() exits and
the "Upload Success" message gets cut off before it can be fully sent, which
spooks HTTP clients a bit.

To avoid that, you have to wait for the call to Server.Shutdown() to return,
and then signal back to main() that it's now safe to exit.
2021-03-24 06:01:31 +00:00
diff 0b02918dfb Add success message for uploads. 2021-03-24 05:44:09 +00:00
diff 5ea944695d Add README, tweak wording in main package description. 2021-03-24 04:37:27 +00:00
diff b0e6894621 Refactor Config: export all fields and don't pass by reference. 2021-03-24 03:44:36 +00:00
diff aa0822ceea Fixed typo 2021-03-24 03:15:37 +00:00
diff c79402bc54 Add error handling to GetConfig() and main() 2021-03-24 03:14:29 +00:00
diff b8998f6090 Initial commit 2021-03-24 01:06:30 +00:00