cleaner

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cleaner checks outdated data every certain interval and delete them from the storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleaner

type Cleaner struct {
	// contains filtered or unexported fields
}

Cleaner is to clean outdated data.

func New

func New(cfg *config.Config, db *storage.DB) *Cleaner

New creates a cleaner.

func (*Cleaner) Start

func (c *Cleaner) Start()

Start a time ticker to clean.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL