This GoLang file server supports writing file uploads to the file system or to Mongo GridFS.
- Simplest configuration
- Doesn't require management of a backend database
- Doesn't allow for scalability horizontally
- Ability to scale horizontally
- Requires Mongo GridFS
- More resources
- Requires management of a backend database
- StackOverFlow - How to read/write from/to file using Go?
- StackOverFlow - Getting “bytes.Buffer does not implement io.Writer” error message
- GoDocs - Package io
- Streaming IO in Go
- GoDocs - package gridfs
- Golang+MongoDB
- GoDocs - package mongo
- Github - MongoDB Go Driver
- StackOverFlow - Mongodb to Mongodb GridFS
- golang mongoDB GridFS query storage delete file
- Quick Start: Golang & MongoDB - A Quick Look at GridFS
- Connection String URI Format
- Github issue - how to configure TLS/SSL for mongod
- StackOverFlow - How to use new URL from mongodb 3.6 to connect from golang
- StackOverflow- How to download file in browser from Go server
- primitive.go
- StackOverFlow - Delete all the document older than a date using _id in mongo using mgo