channel_points

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: 9 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

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"`
	IsPaused                   bool   `json:"is_paused"`
	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