package
0.0.0-20230507113049-f746f3f1104c
Repository: https://github.com/atreugo/examples.git
Documentation: pkg.go.dev

# README

Static Files

Example to create an atreugo static file server with basic middleware configuration.
If you want to see subdirecories and their files served, execute commands below.

mkdir -p nested/one
echo 'Nested Directory' > ./nested/dir.txt
echo 'One More' > ./nested/one/more.txt

Routes:

  • /

  • /main

  • /readme

  • /gitignore

  • /static/default

  • /static/middlewares

  • /static/custom

  • /static/readme

  • /static/gitignore