Something went wrong on our end
Select Git revision
-
Volker Schukai authoredVolker Schukai authored
main.go 281 B
package main
import (
"log"
"net/http"
"github.com/mccutchen/go-httpbin/httpbin"
)
func main() {
h := httpbin.NewHTTPBin(&httpbin.Options{
MaxMemory: 1024 * 1024 * 5,
})
log.Printf("listening on 9999")
err := http.ListenAndServe(":9999", h.Handler())
log.Fatal(err)
}