Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRoleCommand ¶
type AddRoleCommand struct { eventstore.BaseCommand Role string `json:"role" validate:"required"` }
func NewAddRole ¶
func NewAddRole(objectID, tenant, userId, role string) *AddRoleCommand
type LinkJobRoleCommand ¶
type LinkJobRoleCommand struct { eventstore.BaseCommand JobRoleId string }
func NewLinkJobRoleCommand ¶
func NewLinkJobRoleCommand(objectID, tenant, jobRoleId string) *LinkJobRoleCommand
TODO add userId
type RemoveRoleCommand ¶
type RemoveRoleCommand struct { eventstore.BaseCommand Role string }
func NewRemoveRole ¶
func NewRemoveRole(objectID, tenant, userId, role string) *RemoveRoleCommand
Click to show internal directories.
Click to hide internal directories.