async

package
v0.0.0-...-90229f9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DocumentCountStat = stats.Int64("linker/documents/total", "Count of documents", "1")

DocumentCountStat .

View Source
var DocumentCountView = &view.View{
	Name:        "document/count",
	Measure:     DocumentCountStat,
	Description: "The number of documents stored in linker",
	TagKeys:     []tag.Key{},
	Aggregation: view.Count(),
}

DocumentCountView .

View Source
var DocumentQueuedCountStat = stats.Int64("linker/documents/queue/total", "Count of queued documents", "1")

DocumentQueuedCountStat .

View Source
var DocumentQueuedCountView = &view.View{
	Name:        "document/queue/count",
	Measure:     DocumentQueuedCountStat,
	Description: "The number of documents stored in linker",
	TagKeys:     []tag.Key{},
	Aggregation: view.Count(),
}

DocumentQueuedCountView .

Functions

func New

func New(ctx context.Context, storage linker.Storage) (linker.Linker, error)

New Linker for processing and persisting documents

Types

This section is empty.

Jump to

Keyboard shortcuts

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