Skip to content

Instantly share code, notes, and snippets.

View jakecoffman's full-sized avatar

Jake Coffman jakecoffman

View GitHub Profile
@JalfResi
JalfResi / revprox.go
Last active October 25, 2024 15:41
Simple reverse proxy in Go
package main
import(
"log"
"net/url"
"net/http"
"net/http/httputil"
)
func main() {
@Bochenski
Bochenski / app.go
Created July 9, 2014 14:41
Negroni golang mgo middleware example
package main
import (
"github.com/codegangsta/negroni"
"github.com/gorilla/context"
"github.com/unrolled/render"
"labix.org/v2/mgo"
"labix.org/v2/mgo/bson"
"log"
"net/http"