Documentation
¶
Overview ¶
Package config provides public APIs for reading, saving, reloading, and resetting RedisSMQ system configuration.
Configuration is stored in Redis and shared across all connected instances. Changes are propagated automatically over the internal event bus using version-controlled updates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init initializes the configuration singleton.
It is safe to call multiple times; subsequent calls are no-ops. If no configuration exists in Redis, default configuration is saved.
func Reload ¶
Reload reloads the configuration from Redis.
If the configuration cannot be loaded, default configuration is saved and used instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.