Help us shape the future of Go! Take the 2026 Go Developer Survey

live

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: AGPL-3.0, Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMaxTries = errors.New("Max retries exceeded for request while doing batch mutations.")
)
View Source
var LiveCmd = &cobra.Command{
	Use:   "live",
	Short: "Run Dgraph live loader",
	Run: func(cmd *cobra.Command, args []string) {
		run()
	},
}

Functions

This section is empty.

Types

type Counter

type Counter struct {
	// Number of RDF's processed by server.
	Rdfs uint64
	// Number of mutations processed by the server.
	TxnsDone uint64
	// Number of Aborts
	Aborts uint64
	// Time elapsed since the batch started.
	Elapsed time.Duration
}

Counter keeps a track of various parameters about a batch mutation. Running totals are printed if BatchMutationOptions PrintCounters is set to true.

Jump to

Keyboard shortcuts

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