pip compatible server to serve Python packages out of GitHub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// +build appengine
|
|
|
|
|
|
package goji
|
|
|
|
|
|
import "net/http"
|
|
|
|
|
|
// Serve starts Goji using reasonable defaults.
|
|
|
func Serve() {
|
|
|
// Install our handler at the root of the standard net/http default mux.
|
|
|
// This is required for App Engine, and also allows packages like expvar
|
|
|
// to continue working as expected.
|
|
|
http.Handle("/", DefaultMux)
|
|
|
}
|