2fas-server/internal/api/support/app/app.go

24 lines
651 B
Go
Raw Normal View History

2022-12-31 10:22:38 +01:00
package app
import (
2023-01-30 19:59:42 +01:00
"github.com/twofas/2fas-server/internal/api/support/app/command"
"github.com/twofas/2fas-server/internal/api/support/app/queries"
2022-12-31 10:22:38 +01:00
)
type Commands struct {
CreateDebugLogsAudit *command.CreateDebugLogsAuditHandler
CreateDebugLogsAuditClain *command.CreateDebugLogsAuditClaimHandler
UpdateDebugLogsAudit *command.UpdateDebugLogsAuditHandler
DeleteDebugLogsAudit *command.DeleteDebugLogsAuditHandler
DeleteAllDebugLogsAudit *command.DeleteAllDebugLogsAuditHandler
}
type Queries struct {
DebugLogsAuditQuery *queries.DebugLogsAuditQueryHandler
}
type Cqrs struct {
Commands Commands
Queries Queries
}