You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
golang_balancer.NewBalancer(jobCh, handler, errCh, countPerSecond) - Creates new balancer with jobs channel, function to handle new job, errors channel and number of executing goroutines per second
golang_balancer.SetMax(number) - Sets maximum of goroutines
golang_balancer.SetMin(number) - Set minimum of goroutine
golang_balancer.Increase() - Increases number of goroutine
golang_balancer.Decrease() - Decreases number of goroutine
golang_balancer.SetCountPerSecond(number) - Sets number of goroutine
golang_balancer.CountPerSecond() - Returns number of goroutine
golang_balancer.Efficiency() - Returns real efficiency: number executed jobs per second (refreshes every second)
golang_balancer.Wait() - Waits of all left jobs execution