Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrganizationCommand ¶
CreateOrganizationCommand carries the intent to create a new organization.
type CreateOrganizationHandler ¶
type CreateOrganizationHandler struct {
// contains filtered or unexported fields
}
CreateOrganizationHandler executes CreateOrganizationCommand.
func NewCreateOrganizationHandler ¶
func NewCreateOrganizationHandler(orgs ports.OrganizationRepository) *CreateOrganizationHandler
func (*CreateOrganizationHandler) Handle ¶
func (h *CreateOrganizationHandler) Handle(ctx context.Context, cmd CreateOrganizationCommand) (*CreateOrganizationResult, error)
type CreateOrganizationResult ¶
CreateOrganizationResult is returned on success.
Click to show internal directories.
Click to hide internal directories.