Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UndefinedVoteStrategyWasGivenError = errors.New("undefined vote strategy was given, check your input") UndefinedSpawnVoterWasGivenError = errors.New("undefined spawn voter was given, check your input") UndefinedCloseVoterWasGivenError = errors.New("undefined close voter was given, check your input") )
Functions ¶
This section is empty.
Types ¶
type BalancerService ¶
type BalancerService struct {
// contains filtered or unexported fields
}
func NewBalancerService ¶
func NewBalancerService( ctx context.Context, cfg *config.Config, logger logservice.Logger, collector statservice.Collector, ) *BalancerService
func (*BalancerService) CurrentAction ¶
func (s *BalancerService) CurrentAction() (action enum.Action, sleep time.Duration)
type ManagerService ¶
type ManagerService struct {
// contains filtered or unexported fields
}
func NewManagerService ¶
func NewManagerService( ctx context.Context, sender *sender.Http, logger logservice.Logger, collector statservice.Collector, ) *ManagerService
func (*ManagerService) CloseAll ¶
func (m *ManagerService) CloseAll(cancel context.CancelFunc, wg *sync.WaitGroup)
func (*ManagerService) CloseOne ¶
func (m *ManagerService) CloseOne()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.