An open API service indexing awesome lists of open source software.

https://github.com/navaz-alani/nimbus

A configurable HTTP file upload/download server implementation in Golang.
https://github.com/navaz-alani/nimbus

fileserver golang http

Last synced: 5 months ago
JSON representation

A configurable HTTP file upload/download server implementation in Golang.

Awesome Lists containing this project

README

          

# Nimbus

[![PkgGoDev](https://pkg.go.dev/badge/github.com/navaz-alani/nimbus)](https://pkg.go.dev/github.com/navaz-alani/nimbus)

This is a simple fileserver, written in Go, which facilitates uploading and
downloading of files. For examples of how this software works, check out the
`examples` directory in the project root.

## Implementation Details

There is an interface type `NimbusHTTP` which defines the HTTP interface of the
file server. There is currently one implementation of this:

* `NimbusHTTPFormImpl` is the implementation which attempts to download a file
from the user and save it to the server, through a request with type
`multipart/form-data`. The server returns a string representing the server
name for the uploaded file. Using this name as a query parameter (with the key
as a configurable value), the user can then download the uploaded files.