Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckEmailHandler ¶
type CheckEmailHandler cqrs.HandlerFunc[CheckEmailQuery, *CheckEmailRes]
func NewCheckEmailHandler ¶
func NewCheckEmailHandler(repo user.Repo) CheckEmailHandler
type CheckEmailQuery ¶
type CheckEmailQuery struct {
Email string `json:"email" validate:"required,email"`
}
type CheckEmailRes ¶
type CheckEmailRes struct {
Exists bool `json:"exists"`
}
type SessionListHandler ¶
type SessionListHandler cqrs.HandlerFunc[SessionListQuery, *SessionListRes]
func NewSessionListHandler ¶
func NewSessionListHandler(sessionSrv session.Service) SessionListHandler
type SessionListItem ¶
type SessionListQuery ¶
type SessionListRes ¶
type SessionListRes struct {
Sessions []SessionListItem
}
type UserListHandler ¶
type UserListHandler cqrs.HandlerFunc[UserListQuery, *UserListRes]
func NewUserListHandler ¶
func NewUserListHandler(repo user.Repo) UserListHandler
type UserListQuery ¶
type UserListQuery struct { *utils.Pagination *user.FilterEntity }
Click to show internal directories.
Click to hide internal directories.