aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/incoming/web/handlers/not_implemented.go
blob: 472f73bdac4d13f2da896a09e0f578582208c6b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

package handlers

import (
	"net/http"

	wtypes "go.lindenii.runxiyu.org/forge/forged/internal/incoming/web/types"
)

type NotImplementedHTTP struct{}

func NewNotImplementedHTTP() *NotImplementedHTTP { return &NotImplementedHTTP{} }

func (h *NotImplementedHTTP) Handle(w http.ResponseWriter, _ *http.Request, _ wtypes.Vars) {
	http.Error(w, "not implemented", http.StatusNotImplemented)
}