reporting

package
v1.33.0 Latest Latest
Warning

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

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

Documentation

Overview

Package reporting implements the Reporting gRPC service, which lets users flag a user, chat, message or blob for review.

Reports are advisory: filing one has no client-visible effect and no outcome is surfaced back to the reporter. Today the service is a stub that records nothing — a report is logged with who filed it and what it targets, and nothing else happens. Persistence and any review workflow are not built.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	reportingpb.UnimplementedReportingServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(log *zap.Logger, authz auth.Authorizer) *Server

func (*Server) Report

Report logs the report and returns OK. The target is not checked for existence and nothing is stored, so every well-formed report from an authorized caller succeeds, including a repeat of an earlier one.

Jump to

Keyboard shortcuts

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