go-local-server

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

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

Go to latest
Published: Feb 6, 2019 License: MIT Imports: 4 Imported by: 0

README

go-local-server

goで立てるローカルサーバー

インストール

$ go get github.com/K1-Style/go-local-server

実行例

/path/to/dirディレクトリを http://localhost:8080 でアクセスしたい場合

$ go-local-server -d /path/to/dir -p 8080

オプション

  • --dir, -d
    • localhostでhttpアクセスしたい対象ディレクトリ(デフォルト:コマンド実行したカレントディレクトリ)
  • --port, -p
    • localhostのポート番号(デフォルト:9090)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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