func init() { newChangeCh = make(chan *store.ChangeRequest, 100) store.AddChosenCallback(handleChosen) store.AddProposalCallback(handleProposalChange) chrequest.AddChangeCallback(handleChangeRequest) }
func init() { // Unbuffered. receivedConnCh = make(chan receivedConn) newRequestCh = make(chan *chproto.ChangeRequest, 100) store.AddChosenCallback(handleChosenRequests) }
func init() { store.AddAppliedCallback(handleApplied) store.AddChosenCallback(handleChosen) store.AddDegradedCallback(handleDegraded) store.AddProposalCallback(handleProposalChange) }