mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
23 lines
378 B
Go
23 lines
378 B
Go
package handlers
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func HeadKey(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "data")
|
|
}
|
|
|
|
func GetKey(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "key")
|
|
}
|
|
|
|
func PostKey(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "key")
|
|
}
|
|
|
|
func DeleteKey(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "key")
|
|
}
|