Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoOnRamp ¶
type CryptoOnRamp struct { Name string `json:"name"` Description string `json:"description"` Fees string `json:"fees"` LogoURL string `json:"logoUrl"` SiteURL string `json:"siteUrl"` RecurrentSiteURL string `json:"recurrentSiteUrl"` Hostname string `json:"hostname"` Params map[string]string `json:"params"` // TODO implement params in JSON and parsing status-mobile SupportedChainIDs []uint64 `json:"supportedChainIds"` }
type DataSourceType ¶
type DataSourceType int
const ( DataSourceHTTP DataSourceType = iota + 1 DataSourceStatic )
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) Get ¶
func (c *Manager) Get() ([]CryptoOnRamp, error)
type Options ¶
type Options struct { DataSource string DataSourceType DataSourceType }
Click to show internal directories.
Click to hide internal directories.