channel_points

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 9 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatchAndPostRewardBody

type PatchAndPostRewardBody struct {
	Title                      string `json:"title"`
	Cost                       *int   `json:"cost"`
	RewardPrompt               string `json:"prompt"`
	IsEnabled                  *bool  `json:"is_enabled"`
	BackgroundColor            string `json:"background_color"`
	IsUserInputRequired        bool   `json:"is_user_input_required"`
	StreamMaxEnabled           bool   `json:"is_max_per_stream_enabled"`
	StreamMaxCount             int    `json:"max_per_stream"`
	StreamUserMaxEnabled       bool   `json:"is_max_per_user_per_stream_enabled"`
	StreamUserMaxCount         int    `json:"max_per_user_per_stream"`
	GlobalCooldownEnabled      bool   `json:"is_global_cooldown_enabled"`
	GlobalCooldownSeconds      int    `json:"global_cooldown_seconds"`
	ShouldRedemptionsSkipQueue bool   `json:"should_redemptions_skip_request_queue"`
}

type PatchRedemptionBody

type PatchRedemptionBody struct {
	Status string `json:"status"`
}

type Redemption

type Redemption struct{}

func (Redemption) GetRequiredScopes

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

func (Redemption) Path

func (e Redemption) Path() string

func (Redemption) ServeHTTP

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

func (Redemption) ValidMethod

func (e Redemption) ValidMethod(method string) bool

type Reward

type Reward struct{}

func (Reward) GetRequiredScopes

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

func (Reward) Path

func (e Reward) Path() string

func (Reward) ServeHTTP

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

func (Reward) ValidMethod

func (e Reward) ValidMethod(method string) bool

Jump to

Keyboard shortcuts

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