mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 23:16:54 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
const (
|
||||
localbitcoinsAPIURL = "https://localbitcoins.com"
|
||||
|
||||
// Autheticated Calls
|
||||
// Authenticated Calls
|
||||
localbitcoinsAPIAccountInfo = "api/account_info"
|
||||
localbitcoinsAPIMyself = "myself/"
|
||||
localbitcoinsAPIAds = "ads/"
|
||||
|
||||
@@ -83,7 +83,7 @@ type AdData struct {
|
||||
AdCount int `json:"ad_count"`
|
||||
}
|
||||
|
||||
// AdEdit references an outgoing paramater type for EditAd() method
|
||||
// AdEdit references an outgoing parameter type for EditAd() method
|
||||
type AdEdit struct {
|
||||
// Required Arguments
|
||||
PriceEquation string `json:"price_equation"`
|
||||
@@ -123,7 +123,7 @@ type AdEdit struct {
|
||||
Floating bool `json:"floating"`
|
||||
}
|
||||
|
||||
// AdCreate references an outgoing paramater type for CreateAd() method
|
||||
// AdCreate references an outgoing parameter type for CreateAd() method
|
||||
type AdCreate struct {
|
||||
// Required Arguments
|
||||
PriceEquation string `json:"price_equation"`
|
||||
|
||||
@@ -30,7 +30,7 @@ func (r *RateLimit) Limit(f request.EndpointLimit) error {
|
||||
func SetRateLimit() *RateLimit {
|
||||
return &RateLimit{
|
||||
// 4 seconds per book fetching is the best time frame to actually
|
||||
// receive without retying. There is undocumentated rate limit.
|
||||
// receive without retrying. There is undocumentated rate limit.
|
||||
Orderbook: request.NewRateLimit(4*time.Second, 1),
|
||||
Ticker: request.NewRateLimit(time.Second, 1),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user