mirror of
https://github.com/rclone/rclone.git
synced 2024-12-02 05:23:47 +08:00
19 lines
274 B
Go
19 lines
274 B
Go
// HTTP parts pre go1.8
|
|
|
|
//+build !go1.8
|
|
|
|
package httplib
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// Initialise the http.Server for pre go1.8
|
|
func initServer(s *http.Server) {
|
|
}
|
|
|
|
// closeServer closes the server in a non graceful way
|
|
func closeServer(s *http.Server) error {
|
|
return nil
|
|
}
|