Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { Base Key string `short:"k" long:"key" description:"The key to use for the benckmark" optional:"yes" default:"_benchmark"` Iterations int `` /* 129-byte string literal not displayed */ Concurrency int `short:"c" long:"concurrency" description:"The number of goroutines to run in parallel" optional:"yes" default:"10"` Length int `short:"l" long:"length" description:"The length of the random values to set in the benchmark" optional:"yes" default:"16"` Verbose bool `short:"v" long:"verbose" description:"Whether to produce verbose output" optional:"yes"` }
type Data ¶
type Data struct { Set Set `command:"set" alias:"s" description:"Set a value in the distributed log."` Get Get `command:"get" alias:"g" description:"Get a value from a distributed log."` Benchmark Benchmark `command:"benchmark" alias:"b" description:"Benchmark the speed of the distributed log."` }
Log is the set of distributed log related commands.
Click to show internal directories.
Click to hide internal directories.