core/

directory
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: MIT

README

core

Business rules that do not care about HTTP or SQL. A package lands here when it needs several store calls, or a decision, that more than one transport must apply the same way.

Package Owns
access/ who may read a memo, given viewer, space membership, and share links
notification/ building and dispatching inbox and email notifications
memopayload/ rebuilding a memo's derived payload from its markdown
memoexport/ the Memos Export Format container and records used for export and import

Layering: core may import store, provider, markdown, filter, proto/gen, and internal. It must not import server or cmd. New resource-specific rules extracted from server/api/v1 belong here, one package per resource.

Directories

Path Synopsis
Package access defines transport-independent resource authorization policies shared by the server's API and HTTP adapters.
Package access defines transport-independent resource authorization policies shared by the server's API and HTTP adapters.
Package memoexport implements the Memos Export Format: a ZIP container that carries one user's memos and attachments between Memos instances.
Package memoexport implements the Memos Export Format: a ZIP container that carries one user's memos and attachments between Memos instances.

Jump to

Keyboard shortcuts

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