Documentation ¶
Index ¶
Constants ¶
View Source
const ( Check = 0 For = 2 SureFor = 3 TotallyFor = 5 AbsolutelyFor = 7 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseVoter ¶
type CloseVoter string
const ( CloseByRPS CloseVoter = "close_by_rps" CloseByMaxWorkers CloseVoter = "close_by_max_workers" CloseByAvgDuration CloseVoter = "close_by_avg_duration" )
func (CloseVoter) String ¶
func (s CloseVoter) String() string
type SpawnVoter ¶
type SpawnVoter string
const ( SpawnByRPS SpawnVoter = "spawn_by_rps" SpawnByInterval SpawnVoter = "spawn_by_interval" SpawnByMinWorkers SpawnVoter = "spawn_by_min_workers" SpawnByAvgDuration SpawnVoter = "spawn_by_avg_duration" )
func (SpawnVoter) String ¶
func (s SpawnVoter) String() string
type VoteStrategy ¶
type VoteStrategy string
const ( AllVotersStrategy VoteStrategy = "all" ManyVotersStrategy VoteStrategy = "many" AtLeastOneVoterStrategy VoteStrategy = "at_least_one" )
func (VoteStrategy) String ¶
func (s VoteStrategy) String() string
Click to show internal directories.
Click to hide internal directories.