diff --git a/pkg/server/http.go b/pkg/server/http.go index 6a7a3e1..b05bf30 100644 --- a/pkg/server/http.go +++ b/pkg/server/http.go @@ -32,22 +32,6 @@ func (s *HttpServer) GET(path string, handler http.HandlerFunc) { s.router.Handler(http.MethodGet, path, handler) } -func (s *HttpServer) POST(path string, handler http.HandlerFunc) { - s.router.Handler(http.MethodPost, path, handler) -} - -func (s *HttpServer) PATCH(path string, handler http.HandlerFunc) { - s.router.Handler(http.MethodPatch, path, handler) -} - -func (s *HttpServer) PUT(path string, handler http.HandlerFunc) { - s.router.Handler(http.MethodPut, path, handler) -} - -func (s *HttpServer) DELETE(path string, handler http.HandlerFunc) { - s.router.Handler(http.MethodDelete, path, handler) -} - func (s *HttpServer) ServeStatic(path string, fsys http.FileSystem) { s.router.ServeFiles(path, fsys) }