query

package
v0.0.0-...-808094b Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenreListHandler

type GenreListHandler cqrs.HandlerFunc[GenreListQuery, *GenreListResult]

func NewGenreListHandler

func NewGenreListHandler(repo genre.Repo) GenreListHandler

type GenreListQuery

type GenreListQuery struct {
}

type GenreListResult

type GenreListResult struct {
	Dtos []genre.ListDto
}

type GenreViewHandler

type GenreViewHandler cqrs.HandlerFunc[GenreViewQuery, *GenreViewResult]

func NewGenreViewHandler

func NewGenreViewHandler(repo genre.Repo) GenreViewHandler

type GenreViewQuery

type GenreViewQuery struct {
	Id uuid.UUID
}

type GenreViewResult

type GenreViewResult struct {
	Dto *genre.ListDto
}

type SongListByGenreQuery

type SongListByGenreQuery struct {
	GenreId uuid.UUID
}

type SongListByGenreResult

type SongListByGenreResult struct {
	Dtos []song.ListDto
}

type SongListHandler

type SongListHandler cqrs.HandlerFunc[SongListQuery, *SongListResult]

func NewSongListHandler

func NewSongListHandler(repo song.Repo) SongListHandler

type SongListQuery

type SongListQuery struct {
}

type SongListResult

type SongListResult struct {
	Dtos []song.ListDto
}

type SongListUserRecommendationQuery

type SongListUserRecommendationQuery struct {
	UserId uuid.UUID
}

type SongListUserRecommendationResult

type SongListUserRecommendationResult struct {
	Dtos []song.ListDto
}

type SongViewHandler

type SongViewHandler cqrs.HandlerFunc[SongViewQuery, *SongViewResult]

func NewSongViewHandler

func NewSongViewHandler(repo song.Repo) SongViewHandler

type SongViewQuery

type SongViewQuery struct {
	Id uuid.UUID
}

type SongViewResult

type SongViewResult struct {
	Dto *song.ListDto
}

type UserGetByEmailHandler

func NewUserGetByEmailHandler

func NewUserGetByEmailHandler(repo user.Repo) UserGetByEmailHandler

type UserGetByEmailQuery

type UserGetByEmailQuery struct {
	Email string
}

type UserGetByEmailResult

type UserGetByEmailResult struct {
	Dto *user.ListDto
}

Jump to

Keyboard shortcuts

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