blob: 8d05039d70eaf78310f8c72a1ba3c968f3623a92 (
plain) (
tree)
|
|
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
}
|