Skip to content

aymimkay/go-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

go-http.exe -h
Usage of go-http.exe:
  -address string
        Listening address (default "0.0.0.0")
  -cert string
        TLS certificate path (default "cert.pem")
  -key string
        TLS private Key path (default "key.pem")
  -port string
        Listening port (default "80")
  -sslPort string
        TLS listening port (default "443")
  -status int
        Returned HTTP status code (default 200)

Examples

$ go-http.exe page.html
$ go-http.exe -port 8080 -status 400 "<center><h1>400 Bad Request</h1></center>"
$ go-http.exe .\www\

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages