userid

package
v0.0.0-...-96f1409 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Main

type Main struct {
	Seed        int64    `help:"Random seed for generating data. -1 will use current nanosecond."`
	Num         uint64   `help:"Number of records to generate. 0 means infinity."`
	PilosaHosts []string `help:"Comma separated list of Pilosa hosts and ports."`
	Index       string   `help:"Pilosa index."`
	BatchSize   uint     `help:"Batch size for Pilosa imports (latency/throughput tradeoff)."`
	Field       string   `help:"Field to put user IDs into."`
}

Main holds the options for generating fake data and ingesting it to Pilosa.

func NewMain

func NewMain() *Main

NewMain returns a new Main.

func (*Main) Run

func (m *Main) Run() error

Run begins generating data and ingesting it to Pilosa.

Jump to

Keyboard shortcuts

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