mFetcher

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 6 Imported by: 0

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

func (self *CGFetcher) GetRateUsdEther() (string, error)

type CMCFetcher

type CMCFetcher struct {
	APIV1 string
	APIV2 string
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

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