unified

package
v0.0.0-...-65b99db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: MIT Imports: 9 Imported by: 1

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) GetBoards

func (h *ShrimpyApiClient) GetBoards(exchange string) (map[string]map[string]models.Board, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL