Skip to content

Commit

Permalink
Merge pull request #72 from jybp/master
Browse files Browse the repository at this point in the history
Remove unused Retry* fields
  • Loading branch information
slowbackspace authored Dec 7, 2023
2 parents 6d054ee + 28be778 commit 7403840
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"net/http"
"os"
"time"

"github.com/hashicorp/go-retryablehttp"
)
Expand Down Expand Up @@ -33,14 +32,10 @@ type APIClientOptions struct {

// Max number of routines to use for *All methods
MaxRoutines int

RetryWaitMin time.Duration // Minimum time to wait
RetryWaitMax time.Duration // Maximum time to wait
RetryMax int // Maximum number of retries
}

// NewAPICLient creates a client from APIClientOptions. If no options are provided,
// client with default configurations is returned.
// client with default configurations is returned.
func NewAPIClient(options APIClientOptions) APIClient {
if options.Server == "" {
options.Server = CardanoMainNet
Expand Down

0 comments on commit 7403840

Please sign in to comment.