tinyrelayfile
tinyrelay/internal/catalog/doc.go/

internal/catalog/doc.go raw
1// Package catalog owns the durable registry and filesystem paths for
2// self-hosted relay tenants.
3//
4// Open creates or opens the catalog database, configures SQLite durability,
5// prepares the tenant tables and resumes recorded deletions. Create records a
6// tenant in StatusCreating and creates its private directories; callers move
7// it to StatusReady after tenant initialization succeeds. Disabled tenants
8// can be enabled again or permanently removed with Delete. Delete records its
9// intent, stages the tenant directory, removes the staged data, then removes
10// the catalog rows, allowing Open to resume an interrupted deletion.
11package catalog

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

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

Refs