cleaner

package
v0.0.0-...-acd7349 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2013 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCleaner

func NewCleaner(st *state.State) worker.NotifyWorker

NewCleaner returns a worker.NotifyWorker that runs state.Cleanup() if the CleanupWatcher signals documents marked for deletion.

Types

type Cleaner

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

Cleaner is responsible for cleaning up the state.

func (*Cleaner) Handle

func (c *Cleaner) Handle() error

func (*Cleaner) SetUp

func (c *Cleaner) SetUp() (api.NotifyWatcher, error)

func (*Cleaner) String

func (c *Cleaner) String() string

func (*Cleaner) TearDown

func (c *Cleaner) TearDown() error

Jump to

Keyboard shortcuts

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