plate

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 8 Imported by: 0

README

plate

Serves files from a local directory.

$ go get -u rmazur.io/plate

$ plate
2020/03/31 20:34:09 Staring the HTTP server...
^C2020/03/31 20:34:13 Shutting down...

$ plate --help
Usage of plate:
  -address string
    	Network address to listen on (all addresses by default)
  -dir string
    	Directory to serve files from (default ".")
  -port int
    	TCP port to listen on (default 8080)

Documentation

Overview

A static HTTP server that will serve files in the working directory. By default, will serve current process directory files on port 8080. Use --help flag for configuration options.

Jump to

Keyboard shortcuts

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