Skip to content

Commit

Permalink
analyzer: move http helper clients out of evmnfts
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Jun 15, 2024
1 parent 3e488ac commit b289e08
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion analyzer/evmnfts/ipfsclient/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"net/http"

"github.com/oasisprotocol/nexus/analyzer/evmnfts/httpmisc"
"github.com/oasisprotocol/nexus/analyzer/httpmisc"
)

// gatewayHTTPClient is an *http.Client to use for accessing gateways.
Expand Down
4 changes: 2 additions & 2 deletions analyzer/evmnfts/multiproto/multiproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"net/url"
"strings"

"github.com/oasisprotocol/nexus/analyzer/evmnfts/httpmisc"
"github.com/oasisprotocol/nexus/analyzer/evmnfts/ipfsclient"
"github.com/oasisprotocol/nexus/analyzer/evmnfts/pubclient"
"github.com/oasisprotocol/nexus/analyzer/httpmisc"
"github.com/oasisprotocol/nexus/analyzer/pubclient"
)

// multiproto gets a file from a URL by looking at the URL's scheme and
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

coreCommon "github.com/oasisprotocol/oasis-core/go/common"

"github.com/oasisprotocol/nexus/analyzer/evmnfts/httpmisc"
"github.com/oasisprotocol/nexus/analyzer/httpmisc"
)

// Use this package for connecting to untrusted URLs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/oasisprotocol/nexus/analyzer/evmnfts/httpmisc"
"github.com/oasisprotocol/nexus/analyzer/httpmisc"
)

func wasteResp(resp *http.Response) error {
Expand Down

0 comments on commit b289e08

Please sign in to comment.