Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CGFetcher ¶
type CGFetcher struct { API string // contains filtered or unexported fields }
func NewCGFetcher ¶
func NewCGFetcher() *CGFetcher
func (*CGFetcher) GetGeneralInfo ¶
func (self *CGFetcher) GetGeneralInfo(coinID string) (*ethereum.TokenGeneralInfo, error)
func (*CGFetcher) GetRateUsdEther ¶
type CMCFetcher ¶
func NewCMCFetcher ¶
func NewCMCFetcher() *CMCFetcher
func (*CMCFetcher) GetGeneralInfo ¶
func (self *CMCFetcher) GetGeneralInfo(usdId string) (*ethereum.TokenGeneralInfo, error)
func (*CMCFetcher) GetRateUsdEther ¶
func (self *CMCFetcher) GetRateUsdEther() (string, error)
Click to show internal directories.
Click to hide internal directories.