query

package
v0.0.0-...-fd9b9a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactListHandler

type ContactListHandler cqrs.HandlerFunc[ContactListQuery, *ContactListRes]

func NewContactListHandler

func NewContactListHandler(repo contact.Repository) ContactListHandler

type ContactListQuery

type ContactListQuery struct {
	*utils.Pagination
	*contact.FilterEntity
}

type ContactListRes

type ContactListRes struct {
	*list.Result[*contact.Entity]
}

type FeedbackListQuery

type FeedbackListQuery struct {
	*utils.Pagination
	*feedback.FilterEntity
}

type FeedbackListRes

type FeedbackListRes struct {
	*list.Result[*feedback.Entity]
}

type SupportAdminFilterQuery

type SupportAdminFilterQuery struct {
	*utils.Pagination
	*support.FilterEntity
}

type SupportAdminFilterRes

type SupportAdminFilterRes struct {
	List *list.Result[support.AdminListDto]
}

type SupportAdminGetQuery

type SupportAdminGetQuery struct {
	UUID string `params:"uuid" validate:"required,object_id"`
}

type SupportAdminGetRes

type SupportAdminGetRes struct {
	Detail support.AdminDto
}

type SupportFilterHandler

type SupportFilterHandler cqrs.HandlerFunc[SupportFilterQuery, *SupportFilterRes]

func NewSupportFilterHandler

func NewSupportFilterHandler(repo support.Repo) SupportFilterHandler

type SupportFilterQuery

type SupportFilterQuery struct {
	*utils.Pagination
	*support.FilterEntity
	UserUUID string `json:"-"`
	UserName string `json:"-"`
}

type SupportFilterRes

type SupportFilterRes struct {
	List *list.Result[support.ListDto]
}

type SupportGetHandler

type SupportGetHandler cqrs.HandlerFunc[SupportGetQuery, *SupportGetRes]

func NewSupportGetHandler

func NewSupportGetHandler(repo support.Repo) SupportGetHandler

type SupportGetQuery

type SupportGetQuery struct {
	UUID     string `params:"uuid" validate:"required,object_id"`
	UserUUID string `json:"-"`
	UserName string `json:"-"`
}

type SupportGetRes

type SupportGetRes struct {
	Detail support.DetailDto
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL