mirror of
https://github.com/restic/rest-server.git
synced 2026-04-08 11:11:41 -07:00
23 lines
392 B
Go
23 lines
392 B
Go
package handlers
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func HeadIndex(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "data")
|
|
}
|
|
|
|
func GetIndex(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "index")
|
|
}
|
|
|
|
func PostIndex(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "index")
|
|
}
|
|
|
|
func DeleteIndex(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintln(w, "index")
|
|
}
|