示例#1
0
func init() {
	store.AddDegradedCallback(handleDegraded)
	store.AddDeletingCallback(handleDeleting)
	store.AddAppliedCallback(handleApplied)
}
示例#2
0
func init() {
	store.AddAppliedCallback(handleApplied)
	store.AddChosenCallback(handleChosen)
	store.AddDegradedCallback(handleDegraded)
	store.AddProposalCallback(handleProposalChange)
}
示例#3
0
func init() {
	store.AddDegradedCallback(handleDegraded)
}