Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCurrencyCode = []CurrencyCode{ CurrencyCodeBtc, CurrencyCodeEth, CurrencyCodeLtc, CurrencyCodeDoge, CurrencyCodeDash, CurrencyCodeBcy, }
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Address string `json:"address"` PublicKey string `json:"public_key"` PrivateKey string `json:"private_key"` CurrencyCode CurrencyCode `json:"currency_code"` ExplorerURL string `json:"explorer_url"` }
type CancelSubscriptionInput ¶
type CancelSubscriptionInput struct {
Email string `json:"email"`
}
type CreateSubscriptionInput ¶
type CreateSubscriptionInput struct { Address string `json:"address"` Email string `json:"email"` CurrencyCode CurrencyCode `json:"currency_code"` }
type Currency ¶
type Currency struct { Code CurrencyCode `json:"code"` Name string `json:"name"` }
type CurrencyCode ¶
type CurrencyCode string
const ( CurrencyCodeBtc CurrencyCode = "BTC" CurrencyCodeEth CurrencyCode = "ETH" CurrencyCodeLtc CurrencyCode = "LTC" CurrencyCodeDoge CurrencyCode = "DOGE" CurrencyCodeDash CurrencyCode = "DASH" CurrencyCodeBcy CurrencyCode = "BCY" )
func (CurrencyCode) IsValid ¶
func (e CurrencyCode) IsValid() bool
func (CurrencyCode) MarshalGQL ¶
func (e CurrencyCode) MarshalGQL(w io.Writer)
func (CurrencyCode) String ¶
func (e CurrencyCode) String() string
func (*CurrencyCode) UnmarshalGQL ¶
func (e *CurrencyCode) UnmarshalGQL(v interface{}) error
type DeleteHookInput ¶
type DeleteHookInput struct { HookID string `json:"hook_id"` CurrencyCode CurrencyCode `json:"currency_code"` }
type FundTestAddressInput ¶
type GetStatusInput ¶
type GetStatusInput struct {
Email string `json:"email"`
}
type SubscriptionStatus ¶
type Transaction ¶
Click to show internal directories.
Click to hide internal directories.