Documentation ¶
Index ¶
Constants ¶
View Source
const ( CheckInCommandsFailedToFetchPerson CommandErrorCode = 30001 CheckInCommandsErrorPersonNotFound CommandErrorCode = 30002 CheckInCommandsFailedToFetchEvent CommandErrorCode = 30003 CheckInCommandsErrorEventNotFound CommandErrorCode = 30004 CheckInCommandsFailedToCheckIn CommandErrorCode = 30005 )
View Source
const (
CreateEventCommandsErrorAppError CommandErrorCode = 30101
)
View Source
const (
FetchSessionErrorFailedToCreateSession CommandErrorCode = 30201
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckInCommands ¶
type CheckInCommands struct {
Input dto.CheckInInput
}
func (CheckInCommands) Execute ¶
func (cmd CheckInCommands) Execute(ctx CommandContext) CommandExecutionResult[[]dto.CheckInEvent]
type CommandContext ¶
type CommandContext interface { EventCheckInRepository() repositories.EventCheckInRepository ChurchEventRepository() repositories.ChurchEventRepository PersonRepository() repositories.PersonRepository ChurchEventSessionRepository() repositories.ChurchEventSessionRepository }
type CreateChurchEventSessionCommand ¶
type CreateChurchEventSessionCommand struct {
EventID string
}
func (CreateChurchEventSessionCommand) Execute ¶
func (cmd CreateChurchEventSessionCommand) Execute(ctx CommandContext) CommandExecutionResult[dto.ChurchEventSession]
type CreateEventCommands ¶
type CreateEventCommands struct {
Input dto.ChurchEvent
}
func (CreateEventCommands) Execute ¶
func (c CreateEventCommands) Execute(ctx CommandContext) CommandExecutionResult[dto.ChurchEvent]
Click to show internal directories.
Click to hide internal directories.