/file-server-iris

A very simple file server written with Iris.

Primary LanguageGoDo What The F*ck You Want To Public LicenseWTFPL

A Simple File Server using Iris

Simple and unstable file server web app written with Iris. Just for learning. Recommended to use in private network.

Reference:

www.cnblogs.com/pu369/p/10950746.html

github.com/kataras/iris/tree/master/_examples


Usage:

$ go run ./main.go

or

$ ./main


To specify arguments, you can add:

--rootdir="~/SharedFiles" --port=3000

or edit "config" file as text. Key and value are separated by a space.

RootDir /home/alexander/SharedFiles

Port 3000