diff --git a/internal/server/http.go b/internal/server/http.go index 34b8cb6..4322ba9 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -32,18 +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) ServeStatic(path string, fsys http.FileSystem) { - s.router.ServeFiles(path, fsys) -} - -func (s *HttpServer) SetNotFoundHandler(handler http.HandlerFunc) { - s.router.NotFound = handler -} - // GetURLParam wrapper around underlying router for getting URL parameters. func GetURLParam(r *http.Request, param string) string { return httprouter.ParamsFromContext(r.Context()).ByName(param)