Skip to content

Instantly share code, notes, and snippets.

@collinvandyck
Created September 3, 2012 20:38
Show Gist options
  • Select an option

  • Save collinvandyck/3613242 to your computer and use it in GitHub Desktop.

Select an option

Save collinvandyck/3613242 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"net/http"
)
func main() {
fmt.Printf("Starting HTTP server...\n")
http.HandleFunc("/authenticate", Authenticate)
http.ListenAndServe(":8080", nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment