Directories
¶
| Path | Synopsis |
|---|---|
|
Package app holds the services, their permission checks and the audit events they write.
|
Package app holds the services, their permission checks and the audit events they write. |
|
Package auth does the argon2id password hashing and makes the session and invitation tokens.
|
Package auth does the argon2id password hashing and makes the session and invitation tokens. |
|
Package clock defines the clock interface and its fake for tests.
|
Package clock defines the clock interface and its fake for tests. |
|
Package config holds the configuration of Clowder and its validation.
|
Package config holds the configuration of Clowder and its validation. |
|
Package files stores the attachments on disk under the data directory.
|
Package files stores the attachments on disk under the data directory. |
|
Package live is the event hub: services publish events and the server-sent event streams subscribe to them (SPEC D18, §8).
|
Package live is the event hub: services publish events and the server-sent event streams subscribe to them (SPEC D18, §8). |
|
Package markdown renders the body of a post or a comment to HTML and extracts the mentions from it.
|
Package markdown renders the body of a post or a comment to HTML and extracts the mentions from it. |
|
Package store holds the GORM models, the queries, the migrations and the FTS5 index.
|
Package store holds the GORM models, the queries, the migrations and the FTS5 index. |
|
storetest
Package storetest opens throw-away stores for tests.
|
Package storetest opens throw-away stores for tests. |
|
Package web holds the HTTP server, the routes, the middleware, the handlers and the server-sent event streams.
|
Package web holds the HTTP server, the routes, the middleware, the handlers and the server-sent event streams. |
|
static
Package static holds the files the server sends as they are: the Datastar client, the stylesheet and the scripts.
|
Package static holds the files the server sends as they are: the Datastar client, the stylesheet and the scripts. |
|
views
Package views holds the templ components and pages.
|
Package views holds the templ components and pages. |
Click to show internal directories.
Click to hide internal directories.