blob: dd11f22fd35880a039b9f1ea51240c001a9d3fee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package main
import (
"net/http"
)
// Handle storage requests
func storageHandler(w http.ResponseWriter, r *http.Request) {
// filename := r.URL.String()[5:]
if r.Method == "GET" {
} else if r.Method == "PUT" {
} else if r.Method == "DELETE" {
} else {
w.WriteHeader(http.StatusMethodNotAllowed)
}
}
|