updateque

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: BSD-3-Clause Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateNodes

func UpdateNodes(rec *record.Record, n *node.Node)

UpdateNodes do doUpdateNode for each records using related nodes. if success to doUpdateNode, add node to updatelist and recentlist and removes the record from queue.

Types

type RecordChannel

type RecordChannel struct {
	*record.Head
	Ch chan struct{}
	// contains filtered or unexported fields
}

RecordChannel is for informing record was gotten.

var UpdatedRecord RecordChannel

UpdatedRecord is concerned record.

func (*RecordChannel) Inform

func (r *RecordChannel) Inform(datfile, id string, begin, end int64)

Inform call channel if specifiedd condition is met.

Jump to

Keyboard shortcuts

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