Skip to content

tommysdk/go-simple-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

go-simple-web-server

A simple web server written in Go

Build and run

$ go build
$ ./go-simple-web-server

Usage

When the server runs, it listens to port 5000. You can perform requests and the server will happily return 200 OK:

$ curl -I localhost:5000

HTTP/1.1 200 OK
Date: Thu, 23 Nov 2017 09:32:22 GMT
Content-Length: 33
Content-Type: text/plain; charset=utf-8

Releases

No releases published

Packages

No packages published

Languages