Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertAutodel ¶
func InsertAutodel(data AutodelData, seconds int64) error
Insert a message to be deleted into the database:
- data : Data to be entered. - seconds : Expiration time in seconds.
func RunAutodel ¶
Runs an autodelete ticker job that runs every minute and queries the db for expired messages and deletes them.
Types ¶
Click to show internal directories.
Click to hide internal directories.