Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HypeTrainContribution ¶
type HypeTrainEventData ¶
type HypeTrainEventData struct {
ID string `json:"id"`
BroadcasterID string `json:"broadcaster_id"`
CooldownEndTime string `json:"cooldown_end_time"`
ExpiresAt string `json:"expires_at"`
Goal int `json:"goal"`
LastContribution HypeTrainContribution `json:"last_contribution"`
Level int `json:"level"`
StartedAt string `json:"started_at"`
TopContributions []HypeTrainContribution `json:"top_contributions"`
Total int `json:"total"`
}
type HypeTrainEvents ¶
type HypeTrainEvents struct{}
func (HypeTrainEvents) GetRequiredScopes ¶
func (e HypeTrainEvents) GetRequiredScopes(method string) []string
func (HypeTrainEvents) Path ¶
func (e HypeTrainEvents) Path() string
func (HypeTrainEvents) ServeHTTP ¶
func (e HypeTrainEvents) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (HypeTrainEvents) ValidMethod ¶
func (e HypeTrainEvents) ValidMethod(method string) bool
type HypeTrainEventsResponse ¶
type HypeTrainEventsResponse struct {
ID string `json:"id"`
EventType string `json:"event_type"`
EventTimestamp string `json:"event_timestamp"`
Version string `json:"version"`
EventData HypeTrainEventData `json:"event_data"`
}
Click to show internal directories.
Click to hide internal directories.