Versions in this module Expand all Collapse all v0 v0.8.0 Mar 26, 2021 v0.7.0 Mar 23, 2021 Changes in this version + func Init(s micro.Service, c *dig.Container) error + type CinemaHandler struct + func NewCinemaHandler(cinema service.CinemaService) *CinemaHandler + func (h *CinemaHandler) Create(ctx context.Context, req *rpc_catalog_cinema.CreateCinemaRequest, ...) error + func (h *CinemaHandler) Delete(ctx context.Context, req *rpc_catalog_cinema.DeleteCinemaRequest, ...) error + func (h *CinemaHandler) Get(ctx context.Context, req *rpc_catalog_cinema.GetCinemaRequest, ...) error + func (h *CinemaHandler) GetCity(ctx context.Context, req *rpc_catalog_cinema.GetCinemaCityRequest, ...) error + func (h *CinemaHandler) GetHalls(ctx context.Context, req *rpc_catalog_cinema.GetCinemaHallsRequest, ...) error + func (h *CinemaHandler) GetSeances(ctx context.Context, req *rpc_catalog_cinema.GetCinemaSeancesRequest, ...) error + func (h *CinemaHandler) IsExist(ctx context.Context, req *rpc_catalog_cinema.IsExistCinemaRequest, ...) error + func (h *CinemaHandler) Paginate(ctx context.Context, req *rpc_catalog_cinema.PaginateCinemaRequest, ...) error + func (h *CinemaHandler) Sync(ctx context.Context, req *rpc_catalog_cinema.SyncCinemaRequest, ...) error + func (h *CinemaHandler) Update(ctx context.Context, req *rpc_catalog_cinema.UpdateCinemaRequest, ...) error + type CityHandler struct + func NewCityHandler(city service.CityService) *CityHandler + func (h *CityHandler) Create(ctx context.Context, req *rpc_catalog_city.CreateCityRequest, ...) error + func (h *CityHandler) Delete(ctx context.Context, req *rpc_catalog_city.DeleteCityRequest, ...) error + func (h *CityHandler) Get(ctx context.Context, req *rpc_catalog_city.GetCityRequest, ...) error + func (h *CityHandler) GetCinemas(ctx context.Context, req *rpc_catalog_city.GetCityCinemasRequest, ...) error + func (h *CityHandler) GetSeances(ctx context.Context, req *rpc_catalog_city.GetCitySeancesRequest, ...) error + func (h *CityHandler) GetTimezone(ctx context.Context, req *rpc_catalog_city.GetCityTimezoneRequest, ...) error + func (h *CityHandler) IsExist(ctx context.Context, req *rpc_catalog_city.IsExistCityRequest, ...) error + func (h *CityHandler) Paginate(ctx context.Context, req *rpc_catalog_city.PaginateCityRequest, ...) error + func (h *CityHandler) Sync(ctx context.Context, req *rpc_catalog_city.SyncCityRequest, ...) error + func (h *CityHandler) Update(ctx context.Context, req *rpc_catalog_city.UpdateCityRequest, ...) error + type HallHandler struct + func NewHallHandler(hall service.HallService) *HallHandler + func (h *HallHandler) Create(ctx context.Context, req *rpc_catalog_hall.CreateHallRequest, ...) error + func (h *HallHandler) Delete(ctx context.Context, req *rpc_catalog_hall.DeleteHallRequest, ...) error + func (h *HallHandler) Get(ctx context.Context, req *rpc_catalog_hall.GetHallRequest, ...) error + func (h *HallHandler) IsExist(ctx context.Context, req *rpc_catalog_hall.IsExistHallRequest, ...) error + func (h *HallHandler) Paginate(ctx context.Context, req *rpc_catalog_hall.PaginateHallRequest, ...) error + func (h *HallHandler) Sync(ctx context.Context, req *rpc_catalog_hall.SyncHallRequest, ...) error + func (h *HallHandler) Update(ctx context.Context, req *rpc_catalog_hall.UpdateHallRequest, ...) error + type MovieHandler struct + func NewMovieHandler(movie service.MovieService, schedule service.ScheduleService) *MovieHandler + func (h *MovieHandler) Create(ctx context.Context, req *rpc_catalog_movie.CreateMovieRequest, ...) error + func (h *MovieHandler) Delete(ctx context.Context, req *rpc_catalog_movie.DeleteMovieRequest, ...) error + func (h *MovieHandler) FindMoviesByName(ctx context.Context, req *rpc_catalog_movie.FindMoviesByNameRequest, ...) error + func (h *MovieHandler) Format(ctx context.Context, req *rpc_catalog_movie.FormatMovieRequest, ...) error + func (h *MovieHandler) Get(ctx context.Context, req *rpc_catalog_movie.GetMovieRequest, ...) error + func (h *MovieHandler) GetSeances(ctx context.Context, req *rpc_catalog_movie.GetMovieSeancesRequest, ...) error + func (h *MovieHandler) GetSoon(ctx context.Context, req *rpc_catalog_movie.GetMoviesSoonRequest, ...) error + func (h *MovieHandler) GetToday(ctx context.Context, req *rpc_catalog_movie.GetMoviesTodayRequest, ...) error + func (h *MovieHandler) IsExist(ctx context.Context, req *rpc_catalog_movie.IsExistMovieRequest, ...) error + func (h *MovieHandler) Paginate(ctx context.Context, req *rpc_catalog_movie.PaginateMovieRequest, ...) error + func (h *MovieHandler) Sync(ctx context.Context, req *rpc_catalog_movie.SyncMovieRequest, ...) error + func (h *MovieHandler) Update(ctx context.Context, req *rpc_catalog_movie.UpdateMovieRequest, ...) error + func (h *MovieHandler) UpdateMoviesParent(ctx context.Context, req *rpc_catalog_movie.UpdateMoviesParentRequest, ...) error + type ScheduleHandler struct + func NewScheduleHandler(schedule service.ScheduleService) *ScheduleHandler + func (h *ScheduleHandler) Paginate(ctx context.Context, req *rpc_catalog_schedule.PaginateScheduleRequest, ...) error + func (h *ScheduleHandler) Sync(ctx context.Context, req *rpc_catalog_schedule.SyncScheduleRequest, ...) error + type SeanceHandler struct + func NewSeanceHandler(seance service.SeanceService) *SeanceHandler + func (h *SeanceHandler) Create(ctx context.Context, req *rpc_catalog_seance.CreateSeanceRequest, ...) error + func (h *SeanceHandler) Delete(ctx context.Context, req *rpc_catalog_seance.DeleteSeanceRequest, ...) error + func (h *SeanceHandler) Get(ctx context.Context, req *rpc_catalog_seance.GetSeanceRequest, ...) error + func (h *SeanceHandler) GetCinema(ctx context.Context, req *rpc_catalog_seance.GetSeanceCinemaRequest, ...) error + func (h *SeanceHandler) GetCity(ctx context.Context, req *rpc_catalog_seance.GetSeanceCityRequest, ...) error + func (h *SeanceHandler) GetHall(ctx context.Context, req *rpc_catalog_seance.GetSeanceHallRequest, ...) error + func (h *SeanceHandler) GetLocal(ctx context.Context, req *rpc_catalog_seance.GetSeanceLocalRequest, ...) error + func (h *SeanceHandler) GetMovie(ctx context.Context, req *rpc_catalog_seance.GetSeanceMovieRequest, ...) error + func (h *SeanceHandler) IsExist(ctx context.Context, req *rpc_catalog_seance.IsExistSeanceRequest, ...) error + func (h *SeanceHandler) Paginate(ctx context.Context, req *rpc_catalog_seance.PaginateSeanceRequest, ...) error + func (h *SeanceHandler) Sync(ctx context.Context, req *rpc_catalog_seance.SyncSeanceRequest, ...) error + func (h *SeanceHandler) SyncSeanceDiscounts(ctx context.Context, req *rpc_catalog_seance.SyncSeanceDiscountsRequest, ...) error + func (h *SeanceHandler) Update(ctx context.Context, req *rpc_catalog_seance.UpdateSeanceRequest, ...) error