Documentation ¶
Index ¶
- Constants
- func NewUserAddRoleEvent(aggregate eventstore.Aggregate, role string, at time.Time) (eventstore.Event, error)
- func NewUserLinkJobRoleEvent(aggregate eventstore.Aggregate, tenant, jobRoleId string, updatedAt time.Time) (eventstore.Event, error)
- func NewUserLinkPhoneNumberEvent(aggregate eventstore.Aggregate, tenant, phoneNumberId, label string, ...) (eventstore.Event, error)
- func NewUserRemoveRoleEvent(aggregate eventstore.Aggregate, role string, at time.Time) (eventstore.Event, error)
- type UserAddRoleEvent
- type UserLinkJobRoleEvent
- type UserLinkPhoneNumberEvent
- type UserRemoveRoleEvent
Constants ¶
View Source
const ( UserPhoneNumberLinkV1 = "V1_USER_PHONE_NUMBER_LINK" UserJobRoleLinkV1 = "V1_USER_JOB_ROLE_LINK" UserAddRoleV1 = "V1_USER_ADD_ROLE" UserRemoveRoleV1 = "V1_USER_REMOVE_ROLE" )
Variables ¶
This section is empty.
Functions ¶
func NewUserAddRoleEvent ¶
func NewUserAddRoleEvent(aggregate eventstore.Aggregate, role string, at time.Time) (eventstore.Event, error)
func NewUserLinkJobRoleEvent ¶
func NewUserLinkJobRoleEvent(aggregate eventstore.Aggregate, tenant, jobRoleId string, updatedAt time.Time) (eventstore.Event, error)
func NewUserLinkPhoneNumberEvent ¶
func NewUserLinkPhoneNumberEvent(aggregate eventstore.Aggregate, tenant, phoneNumberId, label string, primary bool, updatedAt time.Time) (eventstore.Event, error)
func NewUserRemoveRoleEvent ¶
func NewUserRemoveRoleEvent(aggregate eventstore.Aggregate, role string, at time.Time) (eventstore.Event, error)
Types ¶
type UserAddRoleEvent ¶
type UserLinkJobRoleEvent ¶
Click to show internal directories.
Click to hide internal directories.