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

24 lines
631 B
Go
Raw Normal View History

2022-12-31 10:22:38 +01:00
package app
import (
"github.com/2fas/api/internal/api/support/app/command"
"github.com/2fas/api/internal/api/support/app/queries"
)
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
}