feat(libhttp): move into the Portainer repository EE-5475 (#10231)

This commit is contained in:
andres-portainer
2023-09-01 19:27:02 -03:00
committed by GitHub
parent 090fa4aeb3
commit 8cc5e0796c
249 changed files with 1059 additions and 639 deletions

View File

@@ -5,11 +5,11 @@ import (
"strings"
"time"
httperror "github.com/portainer/libhttp/error"
portainer "github.com/portainer/portainer/api"
"github.com/portainer/portainer/api/apikey"
"github.com/portainer/portainer/api/dataservices"
httperrors "github.com/portainer/portainer/api/http/errors"
httperror "github.com/portainer/portainer/pkg/libhttp/error"
"github.com/pkg/errors"
)

View File

@@ -5,9 +5,10 @@ import (
"strings"
"time"
"github.com/g07cha/defender"
httperror "github.com/portainer/libhttp/error"
"github.com/portainer/portainer/api/http/errors"
httperror "github.com/portainer/portainer/pkg/libhttp/error"
"github.com/g07cha/defender"
)
// RateLimiter represents an entity that manages request rate limiting