moderation

package
v0.0.0-...-8aa1adc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service is the service struct defined for the comment package for rpc service "moderation.*"

func (Service) ActOnClassification

ActOnClassification confirms or rejects a comment classification

func (Service) AddDelegate

AddDelegate return the list of blocked channels for a moderator

func (Service) AdminAlgoCallbacks

AdminAlgoCallbacks adds or deletes a ChannelAlgoCallback

func (Service) AmI

func (s Service) AmI(r *http.Request, args *commentapi.AmIArgs, reply *commentapi.AmIResponse) error

AmI return whether or not the users is a moderator and the type. Also the channels they moderate

func (Service) Block

Block returns a list of reactions for the comments requested

func (Service) BlockedList

BlockedList return the list of blocked channels for a moderator

func (Service) ListDelegates

ListDelegates return the list of blocked channels for a moderator

func (Service) RemoveDelegate

RemoveDelegate return the list of blocked channels for a moderator

func (Service) UnBlock

UnBlock return whether or not the users is a moderator and the type. Also the channels they moderate

Jump to

Keyboard shortcuts

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