mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:45:16 +01: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
|
|
}
|