21ki / go-hostname

Program written in Go which spins up a web server and prints the hostname

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purpose

Program written in GO which spins up a web server, it prints the hostname and returns a Code500 after 10 hits

#Usage To get source then compile it:

$ go get github.com/richardpct/go-hostname

To launch the webserver:

$ ~/go/bin/go-hostname

To see the output:

$ curl localhost:8080

About

Program written in Go which spins up a web server and prints the hostname

License:MIT License


Languages

Language:Go 72.5%Language:Makefile 27.5%