moderation

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 8 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

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 BannedEvents

type BannedEvents struct{}

func (BannedEvents) GetRequiredScopes

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

func (BannedEvents) Path

func (e BannedEvents) Path() string

func (BannedEvents) ServeHTTP

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

func (BannedEvents) ValidMethod

func (e BannedEvents) 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 ModeratorEvents

type ModeratorEvents struct{}

func (ModeratorEvents) GetRequiredScopes

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

func (ModeratorEvents) Path

func (e ModeratorEvents) Path() string

func (ModeratorEvents) ServeHTTP

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

func (ModeratorEvents) ValidMethod

func (e ModeratorEvents) ValidMethod(method string) bool

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

Jump to

Keyboard shortcuts

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