GO Image Storage and Retrieval API using Gin
Made with images in mind, but I guess aside from compression it can handle most if not all file types.
go get github.com/gin-gonic/gin
go get github.com/rs/xid
go run ./
go build -o alexandria && ./alexandria
UploadRetrievalCompressionVerify deployment integrity (Creates necessary project folders)Check if file is png or jpg for compressionAdd uploads to queue, so they can be compressed while the http request is finishedImplement a proper job queueAllow a limit to be put on the amount of simultaneous image compressions.- Tests
- Function that processes job queue on startup
- Add logging to all errors
- Upload multiple files at once
- Check if image already exists in storage
- By filename
- Using ImageMagick
- Allow for optional compression
- Rate limit
- Add support for other file types
- Process temporary folder into queue on start up
- Add metadata signalling when image has been compressed
- Process queue folder by checking metadata on start up
- Add clear state command