Documentation
¶
Overview ¶
Package cleanup implements periodic data deletion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for the cleanup service.
func New ¶
func New(ctx context.Context, config *config.CleanupConfig, db *database.Database, h *render.Renderer) (*Controller, error)
New creates a new cleanup controller.
func (*Controller) HandleCleanup ¶
func (c *Controller) HandleCleanup() http.Handler
Click to show internal directories.
Click to hide internal directories.