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
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
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
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- type Channel
- type CommercialEndpoint
- type CommercialEndpointRequest
- type CommercialEndpointResponse
- type Editors
- type FollowedEndpoint
- type FollowersEndpoint
- type GetFollowedEndpointResponseData
- type GetFollowersEndpointResponseData
- type GetVIPsResponseBody
- type InformationEndpoint
- type PatchInformationEndpointRequest
- type PatchInformationEndpointRequestLabel
- type Vips
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
ID string `db:"id" json:"broadcaster_id"`
UserLogin string `db:"user_login" json:"broadcaster_login"`
DisplayName string `db:"display_name" json:"broadcaster_name"`
CategoryID string `db:"category_id" json:"game_id"`
CategoryName string `db:"category_name" json:"game_name" dbi:"false"`
Title string `db:"title" json:"title"`
Language string `db:"stream_language" json:"broadcaster_language"`
Delay int `dbi:"false" json:"delay"`
Tags []string `dbi:"false" json:"tags"`
BrandedContent bool `dbi:"false" json:"is_branded_content"`
ContentClassificationLabels []string `dbi:"false" json:"content_classification_labels"`
}
type CommercialEndpoint ¶
type CommercialEndpoint struct{}
func (CommercialEndpoint) GetRequiredScopes ¶
func (e CommercialEndpoint) GetRequiredScopes(method string) []string
func (CommercialEndpoint) Path ¶
func (e CommercialEndpoint) Path() string
func (CommercialEndpoint) ServeHTTP ¶
func (e CommercialEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (CommercialEndpoint) ValidMethod ¶
func (e CommercialEndpoint) ValidMethod(method string) bool
type Editors ¶
type Editors struct{}
func (Editors) GetRequiredScopes ¶
func (Editors) ValidMethod ¶
type FollowedEndpoint ¶ added in v1.1.22
type FollowedEndpoint struct{}
func (FollowedEndpoint) GetRequiredScopes ¶ added in v1.1.22
func (e FollowedEndpoint) GetRequiredScopes(method string) []string
func (FollowedEndpoint) Path ¶ added in v1.1.22
func (e FollowedEndpoint) Path() string
func (FollowedEndpoint) ServeHTTP ¶ added in v1.1.22
func (e FollowedEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (FollowedEndpoint) ValidMethod ¶ added in v1.1.22
func (e FollowedEndpoint) ValidMethod(method string) bool
type FollowersEndpoint ¶ added in v1.1.22
type FollowersEndpoint struct{}
func (FollowersEndpoint) GetRequiredScopes ¶ added in v1.1.22
func (e FollowersEndpoint) GetRequiredScopes(method string) []string
func (FollowersEndpoint) Path ¶ added in v1.1.22
func (e FollowersEndpoint) Path() string
func (FollowersEndpoint) ServeHTTP ¶ added in v1.1.22
func (e FollowersEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (FollowersEndpoint) ValidMethod ¶ added in v1.1.22
func (e FollowersEndpoint) ValidMethod(method string) bool
type GetFollowedEndpointResponseData ¶ added in v1.1.22
type GetFollowersEndpointResponseData ¶ added in v1.1.22
type GetVIPsResponseBody ¶ added in v1.1.16
type InformationEndpoint ¶
type InformationEndpoint struct{}
func (InformationEndpoint) GetRequiredScopes ¶
func (e InformationEndpoint) GetRequiredScopes(method string) []string
func (InformationEndpoint) Path ¶
func (e InformationEndpoint) Path() string
func (InformationEndpoint) ServeHTTP ¶
func (e InformationEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (InformationEndpoint) ValidMethod ¶
func (e InformationEndpoint) ValidMethod(method string) bool
type PatchInformationEndpointRequest ¶
type PatchInformationEndpointRequest struct {
GameID string `json:"game_id"`
BroadcasterLanguage string `json:"broadcaster_language"`
Title string `json:"title"`
Delay *int `json:"delay"`
BrandedContent *bool `json:"is_branded_content"`
// TODO: tags
ContentClassificationLabels []PatchInformationEndpointRequestLabel `json:"content_classification_labels"`
}
type PatchInformationEndpointRequestLabel ¶ added in v1.1.20
type Vips ¶ added in v1.1.16
type Vips struct{}
func (Vips) GetRequiredScopes ¶ added in v1.1.16
func (Vips) ServeHTTP ¶ added in v1.1.16
func (e Vips) ServeHTTP(w http.ResponseWriter, r *http.Request)