Documentation ¶
Index ¶
Constants ¶
View Source
const ( EntryCommitSize = 1 + 6 + 32 + 1 + 32 + 64 // sig, EntryHeaderSize = 1 + 32 + 2 // total len )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurstLoadConfig ¶
type BurstLoadConfig struct {
NbEntries int `mapstructure:"nbEntries"`
}
type ConstantLoadConfig ¶
type ConstantLoadConfig struct {
EPS float64 `mapstructure:"eps"`
}
type LoadConfig ¶
type LoadGenerator ¶
type LoadGenerator struct {
// contains filtered or unexported fields
}
func NewLoadGenerator ¶
func NewLoadGenerator() *LoadGenerator
func (*LoadGenerator) Run ¶
func (lg *LoadGenerator) Run(config LoadConfig) error
func (*LoadGenerator) Stop ¶
func (lg *LoadGenerator) Stop()
type RandomEntryComposer ¶
type RandomEntryComposer struct {
// contains filtered or unexported fields
}
func NewRandomEntryComposer ¶
Click to show internal directories.
Click to hide internal directories.