1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package types // MembershipActionType specifies the action of a membership event. type MembershipActionType int // Event enums. const ( MembershipActionAdd MembershipActionType = iota MembershipActionDelete ) // MembershipEvent specifies the event of membership changes. type MembershipEvent struct { Epoch int Action MembershipActionType }