MCPcopy
hub / github.com/livekit/livekit / uniformRandomJobLoad

Struct uniformRandomJobLoad

pkg/agent/testutils/server.go:465–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465type uniformRandomJobLoad struct {
466 min, max float32
467 rng func() float64
468}
469
470func NewUniformRandomJobLoad(min, max float32) JobLoad {
471 return uniformRandomJobLoad{min, max, rand.Float64}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected