go-jamming/app/webmention/handler.go

28 lines
530 B
Go
Raw Normal View History

package webmention
import (
"net/http"
2021-04-07 11:44:58 +02:00
"fmt"
"github.com/wgroeneveld/go-jamming/common"
)
2021-04-07 11:44:58 +02:00
func HandleGet(conf *common.Config) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
fmt.Println("handling get")
}
}
func HandlePut(conf *common.Config) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
fmt.Println("handling put")
}
}
func HandlePost(conf *common.Config) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
}
}