Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gathering ¶
type Gathering struct { GatheringID string `json:"gatheringId"` StartTimeUtc time.Time `json:"startTimeUtc"` EndTimeUtc time.Time `json:"endTimeUtc"` Segments []Segment `json:"segments"` Title string `json:"title"` Description string `json:"description"` IsEnabled bool `json:"isEnabled"` IsPrivate bool `json:"isPrivate"` GatheringType string `json:"gatheringType"` AdditionalLoc map[string]any `json:"additionalLoc"` // contains filtered or unexported fields }
type GatheringsClient ¶
type GatheringsClient struct {
// contains filtered or unexported fields
}
func NewGatheringsClient ¶
func NewGatheringsClient(token *playfab.MCToken, discovery *discovery.Discovery) *GatheringsClient
func (*GatheringsClient) Gatherings ¶
func (g *GatheringsClient) Gatherings(ctx context.Context) ([]*Gathering, error)
type JsonResponseError ¶
func (JsonResponseError) Error ¶
func (e JsonResponseError) Error() string
type Segment ¶
type Segment struct { SegmentType string `json:"segmentType"` StartTimeUtc time.Time `json:"startTimeUtc"` EndTimeUtc time.Time `json:"endTimeUtc"` UI struct { CaptionText string `json:"captionText"` CaptionForegroundColor string `json:"captionForegroundColor"` CaptionBackgroundColor string `json:"captionBackgroundColor"` StartScreenButtonText string `json:"startScreenButtonText"` BadgeImage string `json:"badgeImage"` CaptionIncludesCountdown bool `json:"captionIncludesCountdown"` ActionButtonText string `json:"actionButtonText"` InfoButtonText string `json:"infoButtonText"` HeaderText string `json:"headerText"` TitleText string `json:"titleText"` BodyText string `json:"bodyText"` EventImage string `json:"eventImage"` BodyImage string `json:"bodyImage"` ActionButtonURL string `json:"actionButtonUrl"` InfoButtonURL string `json:"infoButtonUrl"` } `json:"ui"` }
Click to show internal directories.
Click to hide internal directories.