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 (*Server) Report ¶
func (s *Server) Report(ctx context.Context, req *reportingpb.ReportRequest) (*reportingpb.ReportResponse, error)
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.
Click to show internal directories.
Click to hide internal directories.