Documentation ¶
Index ¶
- type Atom
- type Btc
- type Card
- type Cmc
- type CmcListResponse
- type CmcResponse
- type CoinData
- type Column
- type CommonHTTPResponse
- type CommonTableCols
- type Conversion
- type ConversionResponse
- type CountHTTPResponse
- type Data
- type Eth
- type GetBySymbolHTTPRequest
- type GetCmcHTTPRequest
- type HTTPResponse
- type Ltc
- type Quote
- type Status
- type TBackLogListResponse
- type Usd
- type Xrp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Atom ¶
type Atom struct { ID int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []string `json:"tags"` MaxSupply interface{} `json:"max_supply"` CirculatingSupply float64 `json:"circulating_supply"` TotalSupply float64 `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"quote"` }
type Btc ¶
type Btc struct { ID int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []string `json:"tags"` MaxSupply int `json:"max_supply"` CirculatingSupply int `json:"circulating_supply"` TotalSupply int `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"quote"` }
type Card ¶
type Card struct { CommonTableCols CardID string `json:"cardID" gorm:"type:char(36); unique; not null"` ColumnID string `json:"columnID" gorm:"type:char(36); foreign_key; not null"` Name string `json:"name" gorm:"not null"` Description string `json:"description"` Order int `json:"order" gorm:"not null"` Status *bool `json:"status"` }
type CmcListResponse ¶
type CmcListResponse struct { CommonHTTPResponse CmcList []*Cmc `json:"cmc"` }
CmcListResponse ...
type CmcResponse ¶
type CmcResponse struct { CommonHTTPResponse Cmc *Cmc `json:"cmc"` }
CmcResponse ...
type Column ¶
type Column struct { CommonTableCols ColumnID string `json:"columnID" gorm:"type:char(36); primary_key; not null"` Name string `json:"name"` Order int `json:"order"` }
type CommonHTTPResponse ¶
type CommonHTTPResponse struct { ResultCode string `json:"resultCode"` ResultMsg string `json:"resultMsg"` TrID string `json:"trID"` }
CommonHTTPResponse ...
func (*CommonHTTPResponse) SetResult ¶
func (c *CommonHTTPResponse) SetResult(resultCode, resultMsg, trID string)
SetResult ...
type CommonTableCols ¶
type CommonTableCols struct { Seq uint `gorm:"type:int unsigned auto_increment;unique;not null"` CreatedAt time.Time UpdatedAt time.Time DeletedAt *time.Time `sql:"index"` }
CommonTableCols ...
type Conversion ¶
type ConversionResponse ¶
type ConversionResponse struct { CommonHTTPResponse Conversion *Conversion `json:"conversion"` }
ConversionResponse ...
type CountHTTPResponse ¶
type CountHTTPResponse struct { CommonHTTPResponse Count uint `json:"count"` }
CountHTTPResponse ...
type Eth ¶
type Eth struct { ID int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []string `json:"tags"` MaxSupply interface{} `json:"max_supply"` CirculatingSupply float64 `json:"circulating_supply"` TotalSupply float64 `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"quote"` }
type GetBySymbolHTTPRequest ¶
type GetCmcHTTPRequest ¶
type HTTPResponse ¶
type HTTPResponse interface {
SetResult(resultCode, resultMsg, trID, jobType string)
}
HTTPResponse ...
type Ltc ¶
type Ltc struct { ID int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []string `json:"tags"` MaxSupply int `json:"max_supply"` CirculatingSupply float64 `json:"circulating_supply"` TotalSupply int `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"quote"` }
type TBackLogListResponse ¶
type TBackLogListResponse struct { CommonHTTPResponse Logs []*cloudwatchlogs.OutputLogEvent `json:"logs"` }
type Usd ¶
type Usd struct { Price float64 `json:"price"` Volume24H float64 `json:"volume_24h"` VolumeChange24H float64 `json:"volume_change_24h"` PercentChange1H float64 `json:"percent_change_1h"` PercentChange24H float64 `json:"percent_change_24h"` PercentChange7D float64 `json:"percent_change_7d"` PercentChange30D float64 `json:"percent_change_30d"` PercentChange60D float64 `json:"percent_change_60d"` PercentChange90D float64 `json:"percent_change_90d"` MarketCap float64 `json:"market_cap"` MarketCapDominance float64 `json:"market_cap_dominance"` FullyDilutedMarketCap float64 `json:"fully_diluted_market_cap"` LastUpdated time.Time `json:"last_updated"` }
type Xrp ¶
type Xrp struct { ID int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []string `json:"tags"` MaxSupply int64 `json:"max_supply"` CirculatingSupply int64 `json:"circulating_supply"` TotalSupply int64 `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"quote"` }
Click to show internal directories.
Click to hide internal directories.