dataDump

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dump

type Dump struct {
	Name        string
	ContentType string
	Length      int64
	ModTime     *time.Time
	Body        io.ReadCloser
}

Dump defines a structure that holds dump metadata and body as reader interface. Body must be closed after the read is done.

type Interface

type Interface interface {
	DataDump(ifModifiedSince *time.Time) (dump *Dump, err error)
}

Interface defines method to retrieve data Dump. If ifModifiedSince is not nil and data is not changed since provided time, both return values, Dump and error, will be nil.

Jump to

Keyboard shortcuts

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