Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CatalogHandler ¶
type CatalogHandler struct {
// contains filtered or unexported fields
}
CatalogHandler ...
func NewCatalogHandler ¶
func NewCatalogHandler( combine service.CombineService, city service.CityService, cinema service.CinemaService, hall service.HallService, movie service.MovieService, seance service.SeanceService, discount service.DiscountService, schedule service.ScheduleService, ) *CatalogHandler
NewCatalogHandler ...
func (*CatalogHandler) Sync ¶
func (h *CatalogHandler) Sync(ctx context.Context, req *pb_catalog.SyncRequest, rsp *pb_catalog.SyncResponse) error
Sync ...
type CinemaHandler ¶
type CinemaHandler struct {
// contains filtered or unexported fields
}
CinemaHandler ...
func NewCinemaHandler ¶
func NewCinemaHandler( cinemaService service.CinemaService, ) *CinemaHandler
NewCinemaHandler ...
func (*CinemaHandler) Sync ¶
func (h *CinemaHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type CityHandler ¶
type CityHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCityHandler ¶
func NewCityHandler( cityService service.CityService, ) *CityHandler
NewCityHandler ...
func (*CityHandler) Sync ¶
func (h *CityHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type CombineHandler ¶
type CombineHandler struct {
// contains filtered or unexported fields
}
CombineHandler ...
func NewCombineHandler ¶
func NewCombineHandler( combineService service.CombineService, ) *CombineHandler
NewCombineHandler ...
func (*CombineHandler) Sync ¶
func (h *CombineHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type DiscountHandler ¶
type DiscountHandler struct {
// contains filtered or unexported fields
}
DiscountHandler ...
func NewDiscountHandler ¶
func NewDiscountHandler( discountService service.DiscountService, ) *DiscountHandler
NewDiscountHandler ...
func (*DiscountHandler) Sync ¶
func (h *DiscountHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
func (*DiscountHandler) SyncPrices ¶
func (h *DiscountHandler) SyncPrices(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
SyncPrices ...
type HallHandler ¶
type HallHandler struct {
// contains filtered or unexported fields
}
HallHandler ...
func NewHallHandler ¶
func NewHallHandler( hallService service.HallService, ) *HallHandler
NewHallHandler ...
func (*HallHandler) Sync ¶
func (h *HallHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type MovieHandler ¶
type MovieHandler struct {
// contains filtered or unexported fields
}
MovieHandler ...
func NewMovieHandler ¶
func NewMovieHandler( movieService service.MovieService, ) *MovieHandler
NewMovieHandler ...
func (*MovieHandler) Format ¶
func (h *MovieHandler) Format(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Format ...
func (*MovieHandler) Sync ¶
func (h *MovieHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type ScheduleHandler ¶
type ScheduleHandler struct {
// contains filtered or unexported fields
}
ScheduleHandler ...
func NewScheduleHandler ¶
func NewScheduleHandler( scheduleService service.ScheduleService, ) *ScheduleHandler
NewScheduleHandler ...
func (*ScheduleHandler) Sync ¶
func (h *ScheduleHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
type SeanceHandler ¶
type SeanceHandler struct {
// contains filtered or unexported fields
}
SeanceHandler ...
func NewSeanceHandler ¶
func NewSeanceHandler( seanceService service.SeanceService, discountService service.DiscountService, ) *SeanceHandler
NewSeanceHandler ...
func (*SeanceHandler) Sync ¶
func (h *SeanceHandler) Sync(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
Sync ...
func (*SeanceHandler) SyncSeanceDiscounts ¶
func (h *SeanceHandler) SyncSeanceDiscounts(ctx context.Context, req *pb_shared.SyncRequest, rsp *pb_shared.SyncResponse) error
SyncSeanceDiscounts ...
Click to show internal directories.
Click to hide internal directories.