moderation

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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

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 AutomodHeld

type AutomodHeld struct{}

func (AutomodHeld) GetRequiredScopes

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

func (AutomodHeld) Path

func (e AutomodHeld) Path() string

func (AutomodHeld) ServeHTTP

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

func (AutomodHeld) ValidMethod

func (e AutomodHeld) ValidMethod(method string) bool

type AutomodStatus

type AutomodStatus struct{}

func (AutomodStatus) GetRequiredScopes

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

func (AutomodStatus) Path

func (e AutomodStatus) Path() string

func (AutomodStatus) ServeHTTP

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

func (AutomodStatus) ValidMethod

func (e AutomodStatus) ValidMethod(method string) bool

type Banned added in v1.1.16

type Banned struct{}

func (Banned) GetRequiredScopes added in v1.1.16

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

func (Banned) Path added in v1.1.16

func (e Banned) Path() string

func (Banned) ServeHTTP added in v1.1.16

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

func (Banned) ValidMethod added in v1.1.16

func (e Banned) ValidMethod(method string) bool

type Bans

type Bans struct{}

func (Bans) GetRequiredScopes

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

func (Bans) Path

func (e Bans) Path() string

func (Bans) ServeHTTP

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

func (Bans) ValidMethod

func (e Bans) ValidMethod(method string) bool

type Chat added in v1.1.16

type Chat struct{}

func (Chat) GetRequiredScopes added in v1.1.16

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

func (Chat) Path added in v1.1.16

func (e Chat) Path() string

func (Chat) ServeHTTP added in v1.1.16

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

func (Chat) ValidMethod added in v1.1.16

func (e Chat) ValidMethod(method string) bool

type GetShieldModeStatusResponseBody added in v1.1.16

type GetShieldModeStatusResponseBody struct {
	IsActive        bool   `json:"is_active"`
	ModeratorID     string `json:"moderator_id"`
	ModeratorName   string `json:"moderator_name"`
	ModeratorLogin  string `json:"moderator_login"`
	LastActivatedAt string `json:"last_activated_at"`
}

type Moderators

type Moderators struct{}

func (Moderators) GetRequiredScopes

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

func (Moderators) Path

func (e Moderators) Path() string

func (Moderators) ServeHTTP

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

func (Moderators) ValidMethod

func (e Moderators) ValidMethod(method string) bool

type PostAutomodHeldBody

type PostAutomodHeldBody struct {
	UserID    string `json:"user_id"`
	MessageID string `json:"msg_id"`
	Action    string `json:"action"`
}

type PostAutomodStatusBody

type PostAutomodStatusBody struct {
	Data []PostAutomodStatusBodyData `json:"data"`
}

type PostAutomodStatusBodyData

type PostAutomodStatusBodyData struct {
	MessageID   string `json:"msg_id"`
	MessageText string `json:"msg_text"`
	UserID      string `json:"user_id"`
}

type PostAutomodStatusResponse

type PostAutomodStatusResponse struct {
	MessageID   string `json:"msg_id"`
	IsPermitted bool   `json:"is_permitted"`
}

type PostBansRequestBody added in v1.1.16

type PostBansRequestBody struct {
	Data PostBansRequestBodyData `json:"data"`
}

type PostBansRequestBodyData added in v1.1.16

type PostBansRequestBodyData struct {
	UserID    string `json:"user_id"`
	Duration  int    `json:"duration"`
	Reason    string `json:"reason"`
	Duplicate bool   `json:"-"`
}

type PostBansResponseBodyData added in v1.1.16

type PostBansResponseBodyData struct {
	BroadcasterID string  `json:"broadcaster_id"`
	ModeratorID   string  `json:"moderator_Id"`
	UserID        string  `json:"user_id"`
	CreatedAt     string  `json:"created_at"`
	EndTime       *string `json:"end_time"`
}

type PutShieldModeStatusRequestBody added in v1.1.16

type PutShieldModeStatusRequestBody struct {
	IsActive bool `json:"is_active"`
}

type ShieldMode added in v1.1.16

type ShieldMode struct{}

func (ShieldMode) GetRequiredScopes added in v1.1.16

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

func (ShieldMode) Path added in v1.1.16

func (e ShieldMode) Path() string

func (ShieldMode) ServeHTTP added in v1.1.16

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

func (ShieldMode) ValidMethod added in v1.1.16

func (e ShieldMode) ValidMethod(method string) bool

Jump to

Keyboard shortcuts

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