Documentation
¶
Index ¶
- Constants
- func BuyForm(body []byte) (string, map[string]string, error)
- func CompleteForm(body []byte) (string, map[string]string, error)
- func DangerText(body []byte) (string, error)
- func FormAction(body []byte) (string, error)
- func ParseChipFields(body []byte) (map[string]string, map[string]PriceLimit, error)
- func ParseGames(body []byte) ([]Game, []Node, error)
- func PayForm(body []byte) (string, map[string]string, error)
- type AccountTransaction
- type AppData
- type Bookmark
- type BuyerPrice
- type ChatLine
- type CurrencySum
- type FilterField
- type FilterOption
- type Game
- type Home
- type MyOffer
- type Node
- type OfferBalance
- type OfferForm
- type OrderData
- type OrderReview
- type PriceLimit
- type PublicOffer
- type RaiseBody
- type SavedWallet
- type Sent
- type Sum
- type TradeOrder
Constants ¶
View Source
const ( TransactionWaiting = "waiting" TransactionComplete = "complete" TransactionCancel = "cancel" )
Variables ¶
This section is empty.
Functions ¶
func CompleteForm ¶ added in v1.5.0
func DangerText ¶ added in v1.4.0
func FormAction ¶ added in v1.5.0
func ParseChipFields ¶ added in v1.3.0
Types ¶
type AccountTransaction ¶ added in v1.5.4
type AccountTransaction struct {
ID string
Time string
Title string
Status string
StatusText string
Minor int64
Currency string
HasAmount bool
}
func ParseTransaction ¶ added in v1.5.4
func ParseTransaction(body []byte) (AccountTransaction, error)
func ParseTransactions ¶ added in v1.5.4
func ParseTransactions(body []byte) ([]AccountTransaction, string, error)
type AppData ¶
func ParseAppData ¶
type Bookmark ¶
func ParseBookmarks ¶
type BuyerPrice ¶ added in v1.4.0
func ParseBuyerPrices ¶ added in v1.4.0
func ParseBuyerPrices(body []byte) ([]BuyerPrice, error)
type ChatLine ¶ added in v1.3.0
func ParseChatHistory ¶ added in v1.3.0
func ParseChatPage ¶ added in v1.3.0
type CurrencySum ¶
type FilterField ¶ added in v1.6.1
type FilterField struct {
Name string
Label string
Options []FilterOption
}
func ParseOrderFilters ¶ added in v1.6.1
func ParseOrderFilters(body []byte) []FilterField
type FilterOption ¶ added in v1.6.1
type MyOffer ¶ added in v1.4.0
func ParseMyOffers ¶ added in v1.4.0
type OfferBalance ¶
type OfferBalance struct {
RUB CurrencySum
USD CurrencySum
EUR CurrencySum
}
func ParseOfferBalance ¶
func ParseOfferBalance(body []byte) (OfferBalance, error)
type OfferForm ¶
func ParseOfferForm ¶
type OrderData ¶ added in v1.3.0
type OrderReview ¶ added in v1.3.0
type PriceLimit ¶ added in v1.5.4
type PublicOffer ¶ added in v1.4.0
type PublicOffer struct {
ID int64
Seller string
Online bool
Auto bool
Title string
Traits map[string]string
Amount int64
Price Sum
}
func ParseCatalog ¶ added in v1.4.0
func ParseCatalog(body []byte) ([]PublicOffer, error)
type RaiseBody ¶
func ParseRaise ¶
type SavedWallet ¶ added in v1.5.4
func ParseWallets ¶ added in v1.5.4
func ParseWallets(body []byte) ([]SavedWallet, error)
type Sent ¶
type Sum ¶
func ConfirmationPay ¶ added in v1.5.1
func ParseDecimal ¶
func ParseDisplay ¶
func ParseMajor ¶ added in v1.4.0
type TradeOrder ¶
func ParseTrade ¶
func ParseTrade(body []byte) ([]TradeOrder, string, error)
Click to show internal directories.
Click to hide internal directories.