internal

package
v0.0.0-...-47c2dae Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCommand

func LoadCommand(ctx context.Context, args CommonArgs, n int) error

LoadCommand loads rules into the engines specified in the args.

func QueryCommand

func QueryCommand(ctx context.Context, args CommonArgs, n, concurrency int) error

QueryCommand runs n queries against the engines specified in args.

Types

type CommonArgs

type CommonArgs struct {
	Engines    []string
	ArangoCfg  arango.ClientConfig
	ElasticURL string
}

CommonArgs is the common set of arguments applicable for all commands.

Jump to

Keyboard shortcuts

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