Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Relay *khatru.Relay
)
Functions ¶
func GetApprovalTarget ¶ added in v1.4.0
func GetApprovalTarget() int
func GetVoteTotal ¶ added in v1.4.0
func GetVoteWorth ¶ added in v1.4.0
GetVoteWorth returns how many points a single vote from the given member is worth, based on the configured approval_votes_spec:
- empty or a single number: every vote is worth that number (default 100)
- slash-separated pattern like "50/25/13": each pyramid level has its own worth (level 1 is worth 50, level 2 is worth 25, ...), while root members (level 0) are always worth 100.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.