MCPcopy
hub / github.com/SpectoLabs/hoverfly / LogNormalGenerator

Struct LogNormalGenerator

core/delay/log_normal_generator.go:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46type LogNormalGenerator struct {
47 Min int
48 Max int
49 dist *distuv.LogNormal
50}
51
52func NewLogNormalGenerator(min int, max int, mean int, median int) *LogNormalGenerator {
53 mu := math.Log(float64(median))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected