package
0.0.0-20241025030232-2154053700bb
Repository: https://github.com/cipherblock-chat/chat.git
Documentation: pkg.go.dev

# Functions

IsValidRegex returns true or false based on whether the given string is valid regex or not.
Load a yaml config file for a server run as multiple processes or as a monolith.

# Constants

60 minutes.
Version is the current version of the config format.

# Variables

DefaultMaxFileSizeBytes defines the default file size allowed in transfers.

# Structs

ApplicationService represents a Matrix application service.
ApplicationServiceNamespace is the namespace that a specific application service has management over.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Dendrite contains all the config used by a dendrite process.
TODO: Kill Derived.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogrusHook represents a single logrus hook.
No description provided by the author
The configuration to use for Prometheus metrics.
No description provided by the author
No description provided by the author
PresenceOptions defines possible configurations for presence events.
The config for setting a proxy to use for server->server requests.
No description provided by the author
ReportStats configures opt-in phone-home statistics reporting.
No description provided by the author
The configuration to use for Sentry error reporting.
ServerNotices defines the configuration used for sending server notices.
No description provided by the author
ThumbnailSize contains a single thumbnail size configuration.
No description provided by the author
No description provided by the author

# Type aliases

An Address to listen on.
ConfigErrors stores problems encountered when parsing a config file.
A DataSource for opening a postgresql database using lib/pq.
No description provided by the author
FileSizeBytes is a file size in bytes.
An HTTPAddress to listen on, starting with either http:// or https://.
KeyPerspectives are used to configure perspective key servers for retrieving server keys.
A Path on the filesystem.
A Topic in kafka.