command

package
v0.0.0-...-bbf2a22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL