type RaftAttributes …
type Attributes …
type Member …
func NewMember(name string, peerURLs types.URLs, clusterName string, now *time.Time) *Member { … }
func NewMemberAsLearner(name string, peerURLs types.URLs, clusterName string, now *time.Time) *Member { … }
func computeMemberId(peerURLs types.URLs, clusterName string, now *time.Time) types.ID { … }
func newMember(name string, peerURLs types.URLs, memberId types.ID, isLearner bool) *Member { … }
func (m *Member) PickPeerURL() string { … }
func (m *Member) Clone() *Member { … }
func (m *Member) IsStarted() bool { … }
type MembersByID …
func (ms MembersByID) Len() int { … }
func (ms MembersByID) Less(i, j int) bool { … }
func (ms MembersByID) Swap(i, j int) { … }
type MembersByPeerURLs …
func (ms MembersByPeerURLs) Len() int { … }
func (ms MembersByPeerURLs) Less(i, j int) bool { … }
func (ms MembersByPeerURLs) Swap(i, j int) { … }