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
Index ¶
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 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)
func (Vips) ValidMethod ¶ added in v1.1.16
Click to show internal directories.
Click to hide internal directories.