payload

package
v0.0.1-0...-a0864a0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

Bytes a byte slice of an image file.

type Data

type Data map[string]interface{}

Data is a map hold data/metadata about an image that will be read and augmented through the pipeline.

type DecodedImage

type DecodedImage interface{}

DecodedImage holds the Image bytes and accompanying Data

type Output

type Output []byte

Output a byte slice of an encoded image file.

type OutputStream

type OutputStream io.WriteCloser

OutputStream can either be used to write the image asynchronously.

type Payload

type Payload interface{}

Payload is either a payload.Stream OR payload.Bytes

type Stream

type Stream io.Reader

Stream holds a reader to image bytes

Jump to

Keyboard shortcuts

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