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.
 
 
 

12 lines
284 B

// +build go1.3
package graceful
import "net/http"
// Middleware is a stub that does nothing. When used with versions of Go before
// Go 1.3, it provides functionality similar to net/http.Server's
// SetKeepAlivesEnabled.
func Middleware(h http.Handler) http.Handler {
return h
}