moderationlogservice

package
v0.2.39 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArticleStatusChanged

func ArticleStatusChanged(actorUserId uint64, articleId uint64, title string, blocked bool)

func CategoryModeratorAdded

func CategoryModeratorAdded(actorUserId uint64, categoryId uint64, categoryName string, userId uint64, username string)

func CategoryModeratorRemoved

func CategoryModeratorRemoved(actorUserId uint64, categoryId uint64, categoryName string, userId uint64)

func ReplyStatusChanged added in v0.2.38

func ReplyStatusChanged(actorUserId uint64, snapshot ReplySnapshot, blocked bool)

func ReportStatusChanged added in v0.2.38

func ReportStatusChanged(actorUserId uint64, snapshot ReportSnapshot, status string)

Types

type ReplySnapshot added in v0.2.38

type ReplySnapshot struct {
	ReplyId       uint64
	ArticleId     uint64
	ArticleTitle  string
	ReplyNo       uint64
	ReplyAuthorId uint64
	ReplyAuthor   string
	Excerpt       string
}

type ReportSnapshot added in v0.2.38

type ReportSnapshot struct {
	ReportId     uint64
	TargetType   string
	TargetId     uint64
	TargetURL    string
	ArticleId    uint64
	ArticleTitle string
	ReplyNo      uint64
	Reason       string
	Resolution   string
	ReporterId   uint64
	Reporter     string
	Excerpt      string
}

Jump to

Keyboard shortcuts

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