Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Queries *Queries Commands *Commands // contains filtered or unexported fields }
func NewApplication ¶
func NewApplication(ev mediator.Mediator, repo domain.Repository, read QueryRepository) *Application
type CommandChangePassword ¶
type CommandChangePasswordHandler ¶
type CommandChangePasswordHandler struct {
// contains filtered or unexported fields
}
func NewCommandChangePasswordHandler ¶
func NewCommandChangePasswordHandler(repo domain.Repository) *CommandChangePasswordHandler
func (*CommandChangePasswordHandler) Handle ¶
func (h *CommandChangePasswordHandler) Handle(ctx context.Context, logger *slog.Logger, command *CommandChangePassword) error
type Commands ¶
type Commands struct {
ChangePassword *CommandChangePasswordHandler
}
type FindUserListHandler ¶
type FindUserListHandler struct {
// contains filtered or unexported fields
}
func NewFindUserListHandler ¶
func NewFindUserListHandler(read QueryRepository) *FindUserListHandler
func (*FindUserListHandler) Handle ¶
func (h *FindUserListHandler) Handle(ctx context.Context, logger *slog.Logger, req *QueryFindUserListRequest) (*QueryFindUserListResponse, error)
type Queries ¶
type Queries struct {
FindUserList *FindUserListHandler
}
type QueryRepository ¶
type UserCreatedHandler ¶
type UserCreatedHandler struct { }
func NewUserCreatedHandler ¶
func NewUserCreatedHandler() *UserCreatedHandler
func (UserCreatedHandler) Handle ¶
func (s UserCreatedHandler) Handle(ctx context.Context, ev mediator.Event)
func (UserCreatedHandler) Listening ¶
func (s UserCreatedHandler) Listening() []mediator.EventKind
Click to show internal directories.
Click to hide internal directories.