handler

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s micro.Service, c *dig.Container) error

func ScheduleFilter added in v2.5.0

func ScheduleFilter(filter *pb_catalog_shared.Filter) bson.D

Types

type CinemaHandler

type CinemaHandler struct {
	// contains filtered or unexported fields
}

CinemaHandler ...

func NewCinemaHandler

func NewCinemaHandler(
	cinema service.CinemaService,
) *CinemaHandler

NewCinemaHandler ...

func (*CinemaHandler) Create

Create ...

func (*CinemaHandler) Delete

Delete ...

func (*CinemaHandler) Get

Get ...

func (*CinemaHandler) GetCity

GetCity ...

func (*CinemaHandler) GetHalls

GetHalls ...

func (*CinemaHandler) IsExist

IsExist ...

func (*CinemaHandler) Paginate

Paginate ...

func (*CinemaHandler) Update

Update ...

type CityHandler

type CityHandler struct {
	// contains filtered or unexported fields
}

CityHandler ...

func NewCityHandler

func NewCityHandler(
	city service.CityService,
) *CityHandler

NewCityHandler ...

func (*CityHandler) Create

Create ...

func (*CityHandler) Delete

Delete ...

func (*CityHandler) Get

Get ...

func (*CityHandler) GetCinemas

GetCinemas ...

func (*CityHandler) IsExist

IsExist ...

func (*CityHandler) Paginate

Paginate ...

func (*CityHandler) Update

Update ...

type HallHandler

type HallHandler struct {
	// contains filtered or unexported fields
}

HallHandler ...

func NewHallHandler

func NewHallHandler(
	hall service.HallService,
) *HallHandler

NewHallHandler ...

func (*HallHandler) Create

Create ...

func (*HallHandler) Delete

Delete ...

func (*HallHandler) Get

Get ...

func (*HallHandler) IsExist

IsExist ...

func (*HallHandler) Paginate

Paginate ...

func (*HallHandler) Update

Update ...

type MovieHandler

type MovieHandler struct {
	// contains filtered or unexported fields
}

MovieHandler ...

func NewMovieHandler

func NewMovieHandler(
	movie service.MovieService,
	schedule service.ScheduleService,
) *MovieHandler

NewMovieHandler ...

func (*MovieHandler) Create

Create ...

func (*MovieHandler) Delete

Delete ...

func (*MovieHandler) FindMoviesByName

FindMoviesByName ...

func (*MovieHandler) Get

Get ...

func (*MovieHandler) GetSoon

GetSoon ...

func (*MovieHandler) GetToday

GetToday ...

func (*MovieHandler) IsExist

IsExist ...

func (*MovieHandler) Paginate

Paginate ...

func (*MovieHandler) Update

Update ...

func (*MovieHandler) UpdateMoviesParent

UpdateMoviesParent ...

type ScheduleHandler

type ScheduleHandler struct {
	// contains filtered or unexported fields
}

ScheduleHandler ...

func NewScheduleHandler

func NewScheduleHandler(
	schedule service.ScheduleService,
) *ScheduleHandler

NewScheduleHandler ...

func (*ScheduleHandler) Get added in v2.6.0

Get ...

type SeanceHandler

type SeanceHandler struct {
	// contains filtered or unexported fields
}

SeanceHandler ...

func NewSeanceHandler

func NewSeanceHandler(
	seance service.SeanceService,
) *SeanceHandler

NewSeanceHandler ...

func (*SeanceHandler) Create

Create ...

func (*SeanceHandler) Delete

Delete ...

func (*SeanceHandler) Get

Get ...

func (*SeanceHandler) GetCinema

GetCinema ...

func (*SeanceHandler) GetCity

GetCity ...

func (*SeanceHandler) GetHall

GetHall ...

func (*SeanceHandler) GetLocal

GetLocal ...

func (*SeanceHandler) GetMovie

GetMovie ...

func (*SeanceHandler) IsExist

IsExist ...

func (*SeanceHandler) Paginate

Paginate ...

func (*SeanceHandler) Update

Update ...

Jump to

Keyboard shortcuts

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