streams

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

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 FollowedStreams

type FollowedStreams struct{}

func (FollowedStreams) GetRequiredScopes

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

func (FollowedStreams) Path

func (e FollowedStreams) Path() string

func (FollowedStreams) ServeHTTP

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

func (FollowedStreams) ValidMethod

func (e FollowedStreams) ValidMethod(method string) bool

type Localization

type Localization struct {
	EnglishUS string `json:"en-us"`
}

type MarkerPostBody

type MarkerPostBody struct {
	UserID      string `json:"user_id"`
	Description string `json:"description"`
}

type MarkerPostResponse

type MarkerPostResponse struct {
	ID              string `json:"id"`
	CreatedAt       string `json:"created_at"`
	Description     string `json:"description"`
	PositionSeconds int    `json:"position_seconds"`
}

type Markers

type Markers struct{}

func (Markers) GetRequiredScopes

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

func (Markers) Path

func (e Markers) Path() string

func (Markers) ServeHTTP

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

func (Markers) ValidMethod

func (e Markers) ValidMethod(method string) bool

type PaginationCursor

type PaginationCursor struct {
	Limit      int `json:"l"`
	PrevOffset int `json:"o"`
}

type StreamKey

type StreamKey struct{}

func (StreamKey) GetRequiredScopes

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

func (StreamKey) Path

func (e StreamKey) Path() string

func (StreamKey) ServeHTTP

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

func (StreamKey) ValidMethod

func (e StreamKey) ValidMethod(method string) bool

type StreamKeyResponse

type StreamKeyResponse struct {
	StreamKey string `json:"stream_key"`
}

type Streams

type Streams struct{}

func (Streams) GetRequiredScopes

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

func (Streams) Path

func (e Streams) Path() string

func (Streams) ServeHTTP

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

func (Streams) ValidMethod

func (e Streams) ValidMethod(method string) bool

type TagResponse

type TagResponse struct {
	TagID                    string         `json:"tag_id"`
	IsAuto                   bool           `json:"is_auto"`
	LocalizationNames        []Localization `json:"localization_names"`
	LocalizationDescriptions []Localization `json:"localization_descriptions"`
}

Jump to

Keyboard shortcuts

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