mirror of
https://github.com/restic/rest-server.git
synced 2026-04-12 13:11:50 -07:00
23 lines
413 B
Go
23 lines
413 B
Go
package handlers
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func HeadSnapshot(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "data")
|
|
}
|
|
|
|
func GetSnapshot(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "snapshot")
|
|
}
|
|
|
|
func PostSnapshot(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "snapshot")
|
|
}
|
|
|
|
func DeleteSnapshot(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "snapshot")
|
|
}
|