consumer

package
v0.0.0-...-47d8c29 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer interface {
	Consume() (<-chan result.Result, error)
	Close() error
}

type Generic

type Generic interface {
	Consume() (<-chan result.Generic, error)
	Close() error
}

type Unmarshal

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

func NewUnmarshal

func NewUnmarshal(cr Consumer, t interface{}, f formats.Format) *Unmarshal

func (*Unmarshal) Close

func (c *Unmarshal) Close() error

func (*Unmarshal) Consume

func (c *Unmarshal) Consume() (<-chan result.Generic, error)

Jump to

Keyboard shortcuts

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