func init() { newChangeCh = make(chan *store.ChangeRequest, 100) store.AddChosenCallback(handleChosen) store.AddProposalCallback(handleProposalChange) chrequest.AddChangeCallback(handleChangeRequest) }
func init() { store.AddAppliedCallback(handleApplied) store.AddChosenCallback(handleChosen) store.AddDegradedCallback(handleDegraded) store.AddProposalCallback(handleProposalChange) }