command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 3, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Handler
Provides simple HTTP file server
Installation
go install git.thirdage.dev/night/handler@latest
Examples
Calling without any arguments defaults to serving ./
at 0.0.0.0:8080
./handler
Changing default settings
a
sets ip address
p
sets port
d
sets directory to serve
./handler -a 127.0.0.1 -p 3000 -d ./foo/bar
Documentation
¶
Project: Handler
Purpose: Provide simple HTTP file server
Author: Caleb Vorderbruggen <calebvorderbruggen@thirdage.dev>
Source Files
¶
Click to show internal directories.
Click to hide internal directories.