contentmoderationservice

package
v0.2.74 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreparePost

func PreparePost(post *posts.Entity)

func PrepareTopic

func PrepareTopic(topic *topics.Entity, post *posts.Entity)

PrepareTopic records publication intent before saving. Only published content enters the queue; changing a topic to a draft invalidates older review jobs.

func ReviewPost

func ReviewPost(post *posts.Entity)

func ReviewTopic

func ReviewTopic(topic *topics.Entity, post *posts.Entity)

ReviewTopic evaluates a worker snapshot. Persist it only if the queued content version is still current.

func ValidateMode

func ValidateMode(mode string) error

ValidateMode restricts the visibility policy while asynchronous review runs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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