mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
23 lines
385 B
Go
23 lines
385 B
Go
![]() |
package handlers
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func HeadLock(w http.ResponseWriter, r *http.Request) {
|
||
|
fmt.Fprintln(w, "data")
|
||
|
}
|
||
|
|
||
|
func GetLock(w http.ResponseWriter, r *http.Request) {
|
||
|
fmt.Fprintln(w, "lock")
|
||
|
}
|
||
|
|
||
|
func PostLock(w http.ResponseWriter, r *http.Request) {
|
||
|
fmt.Fprintln(w, "lock")
|
||
|
}
|
||
|
|
||
|
func DeleteLock(w http.ResponseWriter, r *http.Request) {
|
||
|
fmt.Fprintln(w, "lock")
|
||
|
}
|