Documentation
¶
Overview ¶
Package vip contains parameters and stable response models for Bilibili VIP center endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CenterParams ¶
type CenterParams struct {
// contains filtered or unexported fields
}
func NewCenterParams ¶
func NewCenterParams() CenterParams
func (CenterParams) EncodeQuery ¶
func (p CenterParams) EncodeQuery() (url.Values, error)
func (CenterParams) WithBuild ¶
func (p CenterParams) WithBuild(build uint32) CenterParams
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides promoted VIP-center reads.
type User ¶
type User struct {
Account json.RawMessage `json:"account"`
VIP json.RawMessage `json:"vip"`
TV *TVVIP `json:"tv"`
BackgroundImageSmall string `json:"background_image_small"`
BackgroundImageBig string `json:"background_image_big"`
PanelTitle string `json:"panel_title"`
VIPOverdueExplain string `json:"vip_overdue_explain"`
TVOverdueExplain string `json:"tv_overdue_explain"`
AccountExceptionText string `json:"account_exception_text"`
AutoRenew bool `json:"is_auto_renew"`
TVAutoRenew bool `json:"is_tv_auto_renew"`
SurplusSeconds uint64 `json:"surplus_seconds"`
VIPKeepTime uint64 `json:"vip_keep_time"`
}
Click to show internal directories.
Click to hide internal directories.