tinyrelayfile
tinyrelay/internal/records/doc.go/

internal/records/doc.go raw
1// Package records owns durable relay identity, signed protocol records,
2// projections, views, notifications and succession state.
3//
4// New initializes the records schema and loads the relay signing key from the
5// tenant settings. Config.Community is required because membership and
6// moderation projections are part of the records service's read contract.
7//
8// Signed records that advance the durable records clock run under the service
9// signing lock and persist the clock before invoking Config.OnGenerated.
10// OnGenerated runs after that transaction commits and commonly persists or
11// publishes the returned event. Its error is returned to the caller; the clock
12// remains durable even when the callback fails.
13// GenerateEphemeral signs a response without advancing the durable clock or
14// invoking OnGenerated.
15package records

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs