add function what returns http.StatusNotImplemented
This commit is contained in:
7
internal/server/notimpl.go
Normal file
7
internal/server/notimpl.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package server
|
||||||
|
|
||||||
|
import "net/http"
|
||||||
|
|
||||||
|
func NotImplemented(w http.ResponseWriter) {
|
||||||
|
http.Error(w, "Not implemented", http.StatusNotImplemented)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user