exphandler

package
v0.0.0-...-49ede41 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpirationHandler

type ExpirationHandler interface {
	/*
		Prepare this handler if necessary,
		open connection to queue for example.
	*/
	Open() error

	/*
		Close this handler to make it clear all requests.
	*/
	Close() error

	HandleDocument(doc *document.Document) error
	HandleDocuments(docs ...*document.Document) (unhandled []interface{}, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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