connector

package
v0.0.0-...-f6b4a90 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	InGate  *DocQueue
	OutGate *DocQueue
}

func NewConnector

func NewConnector() (*Connector, error)

type DocQueue

type DocQueue struct {
	Name string
	// contains filtered or unexported fields
}

IOQueue wraps two i

func NewDocQueue

func NewDocQueue(name string) (*DocQueue, error)

func (*DocQueue) ConsumedInc

func (q *DocQueue) ConsumedInc()

func (*DocQueue) Get

func (q *DocQueue) Get() map[string]interface{}

func (*DocQueue) GetCh

func (q *DocQueue) GetCh() chan map[string]interface{}

func (*DocQueue) Put

func (q *DocQueue) Put(doc map[string]interface{})

Jump to

Keyboard shortcuts

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