channels

package
v1.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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"`
}

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 CommercialEndpointRequest

type CommercialEndpointRequest struct {
	Length        *int   `json:"length"`
	BroadcasterID string `json:"broadcaster_id"`
}

type CommercialEndpointResponse

type CommercialEndpointResponse struct {
	Length     int    `json:"length"`
	Message    string `json:"message"`
	RetryAfter int    `json:"retry_after"`
}

type Editors

type Editors struct{}

func (Editors) GetRequiredScopes

func (e Editors) GetRequiredScopes(method string) []string

func (Editors) Path

func (e Editors) Path() string

func (Editors) ServeHTTP

func (e Editors) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (Editors) ValidMethod

func (e Editors) ValidMethod(method string) bool

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL