handler

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 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

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) GetSeances

GetSeances ...

func (*CinemaHandler) IsExist

IsExist ...

func (*CinemaHandler) Paginate

Paginate ...

func (*CinemaHandler) Sync

Sync ...

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) GetSeances

GetSeances ...

func (*CityHandler) IsExist

IsExist ...

func (*CityHandler) Paginate

Paginate ...

func (*CityHandler) Sync

Sync ...

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) Sync

Sync ...

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) Format

Format ...

func (*MovieHandler) Get

Get ...

func (*MovieHandler) GetSeances

GetSeances ...

func (*MovieHandler) GetSoon

GetSoon ...

func (*MovieHandler) GetToday

GetToday ...

func (*MovieHandler) IsExist

IsExist ...

func (*MovieHandler) Paginate

Paginate ...

func (*MovieHandler) Sync

Sync ...

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 ...

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) Sync

Sync ...

func (*SeanceHandler) Update

Update ...

Jump to

Keyboard shortcuts

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