Documentation ¶
Index ¶
Constants ¶
View Source
const (
SHRIMPY_BASE_URL = "https://dev-api.shrimpy.io/v1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShrimpyApiClient ¶
type ShrimpyApiClient struct { BaseURL string RateCacheDuration time.Duration HttpClient *http.Client // contains filtered or unexported fields }
func NewShrimpyApi ¶
func NewShrimpyApi() (*ShrimpyApiClient, error)
func (*ShrimpyApiClient) GetCurrencyPairs ¶
func (h *ShrimpyApiClient) GetCurrencyPairs(exchange string) ([]models.CurrencyPair, error)
func (*ShrimpyApiClient) GetCurrencys ¶
func (h *ShrimpyApiClient) GetCurrencys(exchange string) ([]models.Asset, error)
Click to show internal directories.
Click to hide internal directories.