Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2020 Changes in this version + func AllSchedulingTypes() []maps.Map + func FindSchedulingType(code string) maps.Map + type CandidateInterface interface + CandidateCodes func() []string + CandidateWeight func() uint + type HashScheduling struct + func (this *HashScheduling) Next(call *shared.RequestCall) CandidateInterface + func (this *HashScheduling) Start() + func (this *HashScheduling) Summary() maps.Map + type RandomScheduling struct + func (this *RandomScheduling) Next(call *shared.RequestCall) CandidateInterface + func (this *RandomScheduling) Start() + func (this *RandomScheduling) Summary() maps.Map + type RoundRobinScheduling struct + func (this *RoundRobinScheduling) Next(call *shared.RequestCall) CandidateInterface + func (this *RoundRobinScheduling) Start() + func (this *RoundRobinScheduling) Summary() maps.Map + type Scheduling struct + Candidates []CandidateInterface + func (this *Scheduling) Add(candidate ...CandidateInterface) + func (this *Scheduling) HasCandidates() bool + type SchedulingInterface interface + Add func(candidate ...CandidateInterface) + HasCandidates func() bool + Next func(call *shared.RequestCall) CandidateInterface + Start func() + Summary func() maps.Map + type StickyScheduling struct + func (this *StickyScheduling) Next(call *shared.RequestCall) CandidateInterface + func (this *StickyScheduling) Start() + func (this *StickyScheduling) Summary() maps.Map