gohan

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

README

gohan

Build Status GitHub release apache license

http (https) server for both static files and proxy, written by golang.

Install

$ go get github.com/oirik/gohan

Or download binaries from github releases

Usage

Execute simply. gohan listens at 8080 and response from current directory.

$ gohan

Or check options for details.

$ gohan -h

Usage of gohan:
  -certFile string
        SSL cert file path (default "cert.pem")
  -keyFile string
        SSL key file path (default "key.pem")
  -path string
        static files directory (default ".")
  -port int
        http server port number (default 8080)
  -proxy string
        reverse proxy destination host. ex) localhost:8080
  -ssl
        use SSL

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