Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
uncord
command
|
|
|
internal
|
|
|
api
Package api provides HTTP handlers for the Uncord REST API.
|
Package api provides HTTP handlers for the Uncord REST API. |
|
attachment
Package attachment manages file attachments associated with messages.
|
Package attachment manages file attachments associated with messages. |
|
auth
Package auth implements authentication and account lifecycle operations including registration, login, email verification, MFA, password management, and refresh token rotation.
|
Package auth implements authentication and account lifecycle operations including registration, login, email verification, MFA, password management, and refresh token rotation. |
|
bootstrap
Package bootstrap handles first-run database seeding.
|
Package bootstrap handles first-run database seeding. |
|
category
Package category provides domain types and validation for channel categories.
|
Package category provides domain types and validation for channel categories. |
|
channel
Package channel provides domain types and validation for server channels.
|
Package channel provides domain types and validation for server channels. |
|
config
Package config loads application configuration from environment variables into a Config struct.
|
Package config loads application configuration from environment variables into a Config struct. |
|
disposable
Package disposable maintains a blocklist of disposable email domains fetched from a remote source.
|
Package disposable maintains a blocklist of disposable email domains fetched from a remote source. |
|
dm
Package dm provides domain types and data access for one-to-one and group direct message channels.
|
Package dm provides domain types and data access for one-to-one and group direct message channels. |
|
e2ee
Package e2ee provides server-side key distribution and ciphertext relay for end-to-end encrypted direct messages.
|
Package e2ee provides server-side key distribution and ciphertext relay for end-to-end encrypted direct messages. |
|
email
Package email provides an SMTP client for sending transactional emails.
|
Package email provides an SMTP client for sending transactional emails. |
|
emoji
Package emoji provides domain types and validation for custom server emoji.
|
Package emoji provides domain types and validation for custom server emoji. |
|
gateway
Package gateway implements the WebSocket event system.
|
Package gateway implements the WebSocket event system. |
|
httputil
Package httputil provides shared JSON response helpers for HTTP handlers.
|
Package httputil provides shared JSON response helpers for HTTP handlers. |
|
invite
Package invite provides domain types and validation for server invite codes.
|
Package invite provides domain types and validation for server invite codes. |
|
media
Package media abstracts file storage behind the StorageProvider interface.
|
Package media abstracts file storage behind the StorageProvider interface. |
|
member
Package member provides domain types and validation for server membership records.
|
Package member provides domain types and validation for server membership records. |
|
message
Package message provides domain types and validation for chat messages.
|
Package message provides domain types and validation for chat messages. |
|
onboarding
Package onboarding manages the server joining flow configuration.
|
Package onboarding manages the server joining flow configuration. |
|
page
Package page renders HTML responses for browser-facing workflows.
|
Package page renders HTML responses for browser-facing workflows. |
|
permission
Package permission implements a four-step permission resolver: owner bypass, role union, category overrides, and channel overrides.
|
Package permission implements a four-step permission resolver: owner bypass, role union, category overrides, and channel overrides. |
|
postgres
Package postgres manages PostgreSQL connectivity, migrations, and transaction helpers.
|
Package postgres manages PostgreSQL connectivity, migrations, and transaction helpers. |
|
postgres/migrations
Package migrations embeds the SQL migration files used by goose.
|
Package migrations embeds the SQL migration files used by goose. |
|
presence
Package presence provides ephemeral presence and typing state backed by Valkey.
|
Package presence provides ephemeral presence and typing state backed by Valkey. |
|
reaction
Package reaction provides domain types for message reactions.
|
Package reaction provides domain types for message reactions. |
|
role
Package role provides domain types and validation for server roles.
|
Package role provides domain types and validation for server roles. |
|
search
Package search provides permission-scoped full-text message search.
|
Package search provides permission-scoped full-text message search. |
|
server
Package server provides domain types and validation for server-wide configuration.
|
Package server provides domain types and validation for server-wide configuration. |
|
typesense
Package typesense provides an HTTP client for indexing messages in Typesense.
|
Package typesense provides an HTTP client for indexing messages in Typesense. |
|
user
Package user provides domain types, validation, and repository operations for user identity records.
|
Package user provides domain types, validation, and repository operations for user identity records. |
|
valkey
Package valkey establishes connections to a Valkey or Redis instance.
|
Package valkey establishes connections to a Valkey or Redis instance. |
Click to show internal directories.
Click to hide internal directories.