simple-http

command module
v0.0.0-...-d13b7a0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Simple Http Server

Build Status Go Report Card

Starts a simple http server to serve static files. Default port is 8082 and default folder is . (current folder)

Checkout and build:

go get github.com/rayyildiz/simple-http
go install github.com/rayyildiz/simple-http

Usage

Parameter Description
simple-http -v Display version
simple-http -h Display usage
simple-http -folder=./static_folder Static Folder Path (Default .)
simple-http -port=8082 Port (Default 8082)
simple-http -folder=./static -port=8082 Start s simple http server for ./static folder via 8082 port

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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