package autocleanup const ( kvKeyPrefix = "auto_cleanup_" autoCleanupJobKey = "AutoCleanupJob" ) // Config holds per-channel automatic cleanup settings. type Config struct { ChannelID string `json:"channel_id"` OffsetDays int `json:"offset_days"` } func kvKey(channelID string) string { return kvKeyPrefix + channelID }