Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBCleaner ¶
type DBCleaner struct {
// contains filtered or unexported fields
}
DBCleaner db cleaner
func NewDBCleaner ¶
NewDBCleaner create db cleaner
func (*DBCleaner) WithMaxDuration ¶
WithMaxDuration set max time duration
func (*DBCleaner) WithMaxEntryNum ¶
WithMaxEntryNum set max entry
Click to show internal directories.
Click to hide internal directories.