2017-10-26 20:52:29 +00:00
|
|
|
// HTTP parts pre go1.8
|
|
|
|
|
|
|
|
//+build !go1.8
|
|
|
|
|
2018-02-14 20:39:11 +00:00
|
|
|
package httplib
|
2017-10-26 20:52:29 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Initialise the http.Server for pre go1.8
|
|
|
|
func initServer(s *http.Server) {
|
|
|
|
}
|
2018-02-19 14:02:19 +00:00
|
|
|
|
|
|
|
// closeServer closes the server in a non graceful way
|
|
|
|
func closeServer(s *http.Server) error {
|
|
|
|
return nil
|
|
|
|
}
|