sim_http_server

module
v0.0.0-...-25a1ed9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: MIT

README

sim_http_server

A golang port of python -m SimpleHTTPServer

Principle:

1 With logging for monitor incomer.

2 Use golang's official packages as we can.

$ ./sim_http_server
2019/04/14 15:48:26 Serving HTTP on 0.0.0.0:8100
192.168.0.102 - - [14/Apr/2019:15:48:28 +0800] "GET / HTTP/1.1" 200 263
192.168.0.102 - - [14/Apr/2019:15:48:30 +0800] "GET / HTTP/1.1" 200 263
^C

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL