Documentation
¶
Index ¶
- type ActionResult
- type Balance
- type BaseOrderParams
- type DateQuantity
- type IdQuantity
- type Identifiers
- type MinMaxStep
- type OnlineStats
- type Order
- type OrderParams
- type Parameters
- type Payment
- type Price
- type Result
- type SiteStats
- type SmoothGain
- type Statistics
- type Task
- type Traffic
- type TwitchParams
- type User
- type YouTubeParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResult ¶
type BaseOrderParams ¶
type DateQuantity ¶
type IdQuantity ¶
type Identifiers ¶
type Identifiers struct {
Identifiers []uint32 `json:"identifiers"`
}
type MinMaxStep ¶
type OnlineStats ¶
type Order ¶
type Order struct { Platform string `json:"platform"` Uuid string `json:"uuid"` Status string `json:"status"` UpdatedAt string `json:"updated_at"` CreatedAt string `json:"created_at"` ContentType string `json:"content_type"` ContentClassificationLabels []string `json:"content_classification_labels,omitempty"` Parameters Parameters `json:"parameters,omitempty"` PricePerView float64 `json:"price_per_view"` Statistics Statistics `json:"statistics,omitempty"` OrderedViewQty uint32 `json:"ordered_view_qty"` OnlineUsersLimit uint32 `json:"online_users_limit"` PriceId uint32 `json:"tariff_id"` Id uint32 `json:"id"` IsAutostart bool `json:"is_autostart"` }
type OrderParams ¶
type Parameters ¶
type Parameters struct { LaunchMode string `json:"launch_mode,omitempty"` WorkMode string `json:"work_mode,omitempty"` Delay bool `json:"delay,omitempty"` DelayTime uint32 `json:"delay_time,omitempty"` EvenDistribution bool `json:"even_distribution,omitempty"` EvenDistributionTime uint32 `json:"even_distribution_time,omitempty"` }
type Price ¶
type Price struct { Name string `json:"name"` Format string `json:"format"` Description string `json:"description"` Price float64 `json:"price"` Views MinMaxStep `json:"views"` OnlineViewers MinMaxStep `json:"online_viewers"` Id uint32 `json:"id"` }
type Result ¶
type SmoothGain ¶
type Statistics ¶
type TwitchParams ¶
type TwitchParams struct { BaseOrderParams TwitchId uint32 `json:"twitch_id"` }
func (*TwitchParams) IsValid ¶
func (o *TwitchParams) IsValid() (bool, error)
func (*TwitchParams) PlatformCode ¶
func (o *TwitchParams) PlatformCode() string
type User ¶
type User struct { Username string `json:"username"` DateJoined string `json:"date_joined"` Email string `json:"email"` ImageUrl string `json:"image_url"` TwitchLogin string `json:"twitch_login"` Id uint32 `json:"id"` CurrencyId uint32 `json:"currency_id"` DiscountValue uint32 `json:"discount_value"` TwitchId uint32 `json:"twitch_id"` IsActive bool `json:"is_active"` IsBlocked bool `json:"is_blocked"` IsReseller bool `json:"is_reseller"` }
type YouTubeParams ¶
type YouTubeParams struct { ChannelUrl string `json:"channel_url"` BaseOrderParams }
func (*YouTubeParams) IsValid ¶
func (o *YouTubeParams) IsValid() (bool, error)
func (*YouTubeParams) PlatformCode ¶
func (o *YouTubeParams) PlatformCode() string
Click to show internal directories.
Click to hide internal directories.