Documentation
¶
Index ¶
- type Client
- type ClientImpl
- func (c ClientImpl) GetAssetPlatforms() (*asset_platforms.GetAssetPlatformsResponse, error)
- func (c ClientImpl) GetCategoriesData(request *categories.GetCategoriesDataRequest) (*categories.GetCategoriesDataResponse, error)
- func (c ClientImpl) GetCategoriesList() (*categories.GetCategoriesListResponse, error)
- func (c ClientImpl) GetCoinPriceByIDs(request *simple.GetCoinPriceByIDsRequest) (*simple.GetCoinPriceByIDsResponse, error)
- func (c ClientImpl) GetCoinPriceByTokenAddress(request *simple.GetCoinPriceByTokenAddressRequest) (*simple.GetCoinPriceByTokenAddressResponse, error)
- func (c ClientImpl) GetCoinsList(request *coins.GetCoinsListRequest) (*coins.GetCoinsListResponse, error)
- func (c ClientImpl) GetContractData(request *contract.GetContractDataRequest) (*contract.GetContractDataResponse, error)
- func (c ClientImpl) GetContractMarketChart(request *contract.GetContractMarketChartRequest) (*contract.GetContractMarketChartResponse, error)
- func (c ClientImpl) GetContractMarketChartRange(request *contract.GetContractMarketChartRangeRequest) (*contract.GetContractMarketChartRangeResponse, error)
- func (c ClientImpl) GetDerivativeExchangeData(request *derivatives.GetDerivativeExchangeDataRequest) (*derivatives.GetDerivativeExchangeDataResponse, error)
- func (c ClientImpl) GetDerivativesExchangesList() (*derivatives.GetDerivativesExchangesListResponse, error)
- func (c ClientImpl) GetDerivativesExchangesListIDMap() (*derivatives.GetDerivativesExchangesListIDMapResponse, error)
- func (c ClientImpl) GetDerivativesList() (*derivatives.GetDerivativesListResponse, error)
- func (c ClientImpl) GetExchangeData(request *exchanges.GetExchangeDataRequest) (*exchanges.GetExchangeDataResponse, error)
- func (c ClientImpl) GetExchangeRates() (*exchange_rates.GetExchangeRatesResponse, error)
- func (c ClientImpl) GetExchangeTickers(request *exchanges.GetExchangeTickersRequest) (*exchanges.GetExchangeTickersResponse, error)
- func (c ClientImpl) GetExchangeVolumeChart(request *exchanges.GetExchangeVolumeChartRequest) (*exchanges.GetExchangeVolumeChartResponse, error)
- func (c ClientImpl) GetExchangesList(request *exchanges.GetExchangesListRequest) (*exchanges.GetExchangesListResponse, error)
- func (c ClientImpl) GetGlobal() (*global.GetGlobalResponse, error)
- func (c ClientImpl) GetGlobalDefi() (*global.GetGlobalDefiResponse, error)
- func (c ClientImpl) GetGlobalMarketCapChart(vsCurrency string, days string) (*global.GetGlobalMarketCapChartResponse, error)
- func (c ClientImpl) GetNFTContractData(request *nfts.GetNFTContractDataRequest) (*nfts.GetNFTContractDataResponse, error)
- func (c ClientImpl) GetNFTContractHistory(request *nfts.GetNFTContractHistoryRequest) (*nfts.GetNFTContractHistoryResponse, error)
- func (c ClientImpl) GetNFTData(request *nfts.GetNFTDataRequest) (*nfts.GetNFTDataResponse, error)
- func (c ClientImpl) GetNFTHistory(request *nfts.GetNFTHistoryRequest) (*nfts.GetNFTHistoryResponse, error)
- func (c ClientImpl) GetNFTTickers(request *nfts.GetNFTTickersRequest) (*nfts.GetNFTTickersResponse, error)
- func (c ClientImpl) GetNFTsList() (*nfts.GetNFTsListResponse, error)
- func (c ClientImpl) GetNFTsMarketData(request *nfts.GetNFTsMarketDataRequest) (*nfts.GetNFTsMarketDataResponse, error)
- func (c ClientImpl) GetPublicTreasury() (*companies.GetPublicTreasuryResponse, error)
- func (c ClientImpl) GetSupportedCurrencies() (*simple.GetSupportedCurrenciesResponse, error)
- func (c ClientImpl) GetTrending() (*trending.TrendingResponse, error)
- func (c ClientImpl) Key() (*key.KeyResponse, error)
- func (c ClientImpl) Ping() (*ping.PingResponse, error)
- func (c ClientImpl) Search(request *search.SearchRequest) (*search.SearchResponse, error)
- type ClientOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Ping() (*ping.PingResponse, error)
Key() (*key.KeyResponse, error)
GetCoinsList(request *coins.GetCoinsListRequest) (*coins.GetCoinsListResponse, error)
GetCoinPriceByIDs(request *simple.GetCoinPriceByIDsRequest) (*simple.GetCoinPriceByIDsResponse, error)
GetCoinPriceByTokenAddress(request *simple.GetCoinPriceByTokenAddressRequest) (*simple.GetCoinPriceByTokenAddressResponse, error)
GetSupportedCurrencies() (*simple.GetSupportedCurrenciesResponse, error)
GetAssetPlatforms() (*asset_platforms.GetAssetPlatformsResponse, error)
GetCategoriesList() (*categories.GetCategoriesListResponse, error)
GetCategoriesData(request *categories.GetCategoriesDataRequest) (*categories.GetCategoriesDataResponse, error)
GetExchangesList(request *exchanges.GetExchangesListRequest) (*exchanges.GetExchangesListResponse, error)
GetExchangeData(request *exchanges.GetExchangeDataRequest) (*exchanges.GetExchangeDataResponse, error)
GetExchangeTickers(request *exchanges.GetExchangeTickersRequest) (*exchanges.GetExchangeTickersResponse, error)
GetExchangeVolumeChart(request *exchanges.GetExchangeVolumeChartRequest) (*exchanges.GetExchangeVolumeChartResponse, error)
GetContractData(request *contract.GetContractDataRequest) (*contract.GetContractDataResponse, error)
GetContractMarketChart(request *contract.GetContractMarketChartRequest) (*contract.GetContractMarketChartResponse, error)
GetContractMarketChartRange(request *contract.GetContractMarketChartRangeRequest) (*contract.GetContractMarketChartRangeResponse, error)
GetDerivativesList() (*derivatives.GetDerivativesListResponse, error)
GetDerivativesExchangesList() (*derivatives.GetDerivativesExchangesListResponse, error)
GetDerivativeExchangeData(request *derivatives.GetDerivativeExchangeDataRequest) (*derivatives.GetDerivativeExchangeDataResponse, error)
GetDerivativesExchangesListIDMap() (*derivatives.GetDerivativesExchangesListIDMapResponse, error)
GetNFTsList() (*nfts.GetNFTsListResponse, error)
GetNFTData(request *nfts.GetNFTDataRequest) (*nfts.GetNFTDataResponse, error)
GetNFTContractData(request *nfts.GetNFTContractDataRequest) (*nfts.GetNFTContractDataResponse, error)
GetNFTsMarketData(request *nfts.GetNFTsMarketDataRequest) (*nfts.GetNFTsMarketDataResponse, error)
GetNFTHistory(request *nfts.GetNFTHistoryRequest) (*nfts.GetNFTHistoryResponse, error)
GetNFTContractHistory(request *nfts.GetNFTContractHistoryRequest) (*nfts.GetNFTContractHistoryResponse, error)
GetNFTTickers(request *nfts.GetNFTTickersRequest) (*nfts.GetNFTTickersResponse, error)
GetExchangeRates() (*exchange_rates.GetExchangeRatesResponse, error)
Search(request *search.SearchRequest) (*search.SearchResponse, error)
GetTrending() (*trending.TrendingResponse, error)
GetGlobal() (*global.GetGlobalResponse, error)
GetGlobalDefi() (*global.GetGlobalDefiResponse, error)
GetGlobalMarketCapChart(vsCurrency string, days string) (*global.GetGlobalMarketCapChartResponse, error)
GetPublicTreasury() (*companies.GetPublicTreasuryResponse, error)
}
func NewClient ¶
func NewClient(options ...ClientOption) Client
type ClientImpl ¶
type ClientImpl struct {
PingClient ping.Client
KeyClient key.Client
CoinsClient coins.Client
SampleClient simple.Client
AssetPlatformsClient asset_platforms.Client
CategoriesClient categories.Client
ExchangesClient exchanges.Client
ContractClient contract.Client
DerivativesClient derivatives.Client
NFTsClient nfts.Client
ExchangeRatesClient exchange_rates.Client
SearchClient search.Client
TrendingClient trending.Client
GlobalClient global.Client
CompaniesClient companies.Client
}
func (ClientImpl) GetAssetPlatforms ¶
func (c ClientImpl) GetAssetPlatforms() (*asset_platforms.GetAssetPlatformsResponse, error)
func (ClientImpl) GetCategoriesData ¶
func (c ClientImpl) GetCategoriesData(request *categories.GetCategoriesDataRequest) (*categories.GetCategoriesDataResponse, error)
func (ClientImpl) GetCategoriesList ¶
func (c ClientImpl) GetCategoriesList() (*categories.GetCategoriesListResponse, error)
func (ClientImpl) GetCoinPriceByIDs ¶
func (c ClientImpl) GetCoinPriceByIDs(request *simple.GetCoinPriceByIDsRequest) (*simple.GetCoinPriceByIDsResponse, error)
func (ClientImpl) GetCoinPriceByTokenAddress ¶
func (c ClientImpl) GetCoinPriceByTokenAddress(request *simple.GetCoinPriceByTokenAddressRequest) (*simple.GetCoinPriceByTokenAddressResponse, error)
func (ClientImpl) GetCoinsList ¶
func (c ClientImpl) GetCoinsList(request *coins.GetCoinsListRequest) (*coins.GetCoinsListResponse, error)
func (ClientImpl) GetContractData ¶
func (c ClientImpl) GetContractData(request *contract.GetContractDataRequest) (*contract.GetContractDataResponse, error)
func (ClientImpl) GetContractMarketChart ¶
func (c ClientImpl) GetContractMarketChart(request *contract.GetContractMarketChartRequest) (*contract.GetContractMarketChartResponse, error)
func (ClientImpl) GetContractMarketChartRange ¶
func (c ClientImpl) GetContractMarketChartRange(request *contract.GetContractMarketChartRangeRequest) (*contract.GetContractMarketChartRangeResponse, error)
func (ClientImpl) GetDerivativeExchangeData ¶
func (c ClientImpl) GetDerivativeExchangeData(request *derivatives.GetDerivativeExchangeDataRequest) (*derivatives.GetDerivativeExchangeDataResponse, error)
func (ClientImpl) GetDerivativesExchangesList ¶
func (c ClientImpl) GetDerivativesExchangesList() (*derivatives.GetDerivativesExchangesListResponse, error)
func (ClientImpl) GetDerivativesExchangesListIDMap ¶
func (c ClientImpl) GetDerivativesExchangesListIDMap() (*derivatives.GetDerivativesExchangesListIDMapResponse, error)
func (ClientImpl) GetDerivativesList ¶
func (c ClientImpl) GetDerivativesList() (*derivatives.GetDerivativesListResponse, error)
func (ClientImpl) GetExchangeData ¶
func (c ClientImpl) GetExchangeData(request *exchanges.GetExchangeDataRequest) (*exchanges.GetExchangeDataResponse, error)
func (ClientImpl) GetExchangeRates ¶
func (c ClientImpl) GetExchangeRates() (*exchange_rates.GetExchangeRatesResponse, error)
func (ClientImpl) GetExchangeTickers ¶
func (c ClientImpl) GetExchangeTickers(request *exchanges.GetExchangeTickersRequest) (*exchanges.GetExchangeTickersResponse, error)
func (ClientImpl) GetExchangeVolumeChart ¶
func (c ClientImpl) GetExchangeVolumeChart(request *exchanges.GetExchangeVolumeChartRequest) (*exchanges.GetExchangeVolumeChartResponse, error)
func (ClientImpl) GetExchangesList ¶
func (c ClientImpl) GetExchangesList(request *exchanges.GetExchangesListRequest) (*exchanges.GetExchangesListResponse, error)
func (ClientImpl) GetGlobal ¶
func (c ClientImpl) GetGlobal() (*global.GetGlobalResponse, error)
func (ClientImpl) GetGlobalDefi ¶
func (c ClientImpl) GetGlobalDefi() (*global.GetGlobalDefiResponse, error)
func (ClientImpl) GetGlobalMarketCapChart ¶
func (c ClientImpl) GetGlobalMarketCapChart(vsCurrency string, days string) (*global.GetGlobalMarketCapChartResponse, error)
func (ClientImpl) GetNFTContractData ¶
func (c ClientImpl) GetNFTContractData(request *nfts.GetNFTContractDataRequest) (*nfts.GetNFTContractDataResponse, error)
func (ClientImpl) GetNFTContractHistory ¶
func (c ClientImpl) GetNFTContractHistory(request *nfts.GetNFTContractHistoryRequest) (*nfts.GetNFTContractHistoryResponse, error)
func (ClientImpl) GetNFTData ¶
func (c ClientImpl) GetNFTData(request *nfts.GetNFTDataRequest) (*nfts.GetNFTDataResponse, error)
func (ClientImpl) GetNFTHistory ¶
func (c ClientImpl) GetNFTHistory(request *nfts.GetNFTHistoryRequest) (*nfts.GetNFTHistoryResponse, error)
func (ClientImpl) GetNFTTickers ¶
func (c ClientImpl) GetNFTTickers(request *nfts.GetNFTTickersRequest) (*nfts.GetNFTTickersResponse, error)
func (ClientImpl) GetNFTsList ¶
func (c ClientImpl) GetNFTsList() (*nfts.GetNFTsListResponse, error)
func (ClientImpl) GetNFTsMarketData ¶
func (c ClientImpl) GetNFTsMarketData(request *nfts.GetNFTsMarketDataRequest) (*nfts.GetNFTsMarketDataResponse, error)
func (ClientImpl) GetPublicTreasury ¶
func (c ClientImpl) GetPublicTreasury() (*companies.GetPublicTreasuryResponse, error)
func (ClientImpl) GetSupportedCurrencies ¶
func (c ClientImpl) GetSupportedCurrencies() (*simple.GetSupportedCurrenciesResponse, error)
func (ClientImpl) GetTrending ¶
func (c ClientImpl) GetTrending() (*trending.TrendingResponse, error)
func (ClientImpl) Key ¶
func (c ClientImpl) Key() (*key.KeyResponse, error)
func (ClientImpl) Ping ¶
func (c ClientImpl) Ping() (*ping.PingResponse, error)
func (ClientImpl) Search ¶
func (c ClientImpl) Search(request *search.SearchRequest) (*search.SearchResponse, error)
type ClientOption ¶
type ClientOption = base.ClientOption
ClientOption defines client configuration options
Click to show internal directories.
Click to hide internal directories.