Documentation ¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- type CatalogHandler
- type CinemaHandler
- func (h *CinemaHandler) Create(ctx context.Context, req *rpc_catalog_cinema.CreateRequest, ...) error
- func (h *CinemaHandler) Delete(ctx context.Context, req *rpc_catalog_cinema.DeleteRequest, rsp *empty.Empty) error
- func (h *CinemaHandler) Get(ctx context.Context, req *rpc_catalog_cinema.GetRequest, ...) 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.IsExistRequest, rsp *empty.Empty) error
- func (h *CinemaHandler) Paginate(ctx context.Context, req *rpc_catalog_cinema.PaginateRequest, ...) error
- func (h *CinemaHandler) Sync(ctx context.Context, req *rpc_catalog_cinema.SyncRequest, ...) error
- func (h *CinemaHandler) Update(ctx context.Context, req *rpc_catalog_cinema.UpdateRequest, ...) error
- type CityHandler
- func (h *CityHandler) Create(ctx context.Context, req *rpc_catalog_city.CreateRequest, ...) error
- func (h *CityHandler) Delete(ctx context.Context, req *rpc_catalog_city.DeleteRequest, rsp *empty.Empty) error
- func (h *CityHandler) Get(ctx context.Context, req *rpc_catalog_city.GetRequest, ...) 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.IsExistRequest, rsp *empty.Empty) error
- func (h *CityHandler) Paginate(ctx context.Context, req *rpc_catalog_city.PaginateRequest, ...) error
- func (h *CityHandler) Sync(ctx context.Context, req *rpc_catalog_city.SyncRequest, ...) error
- func (h *CityHandler) Update(ctx context.Context, req *rpc_catalog_city.UpdateRequest, ...) error
- type CombineHandler
- type DiscountHandler
- func (h *DiscountHandler) Get(ctx context.Context, req *rpc_catalog_discount.GetDiscountRequest, ...) error
- func (h *DiscountHandler) IsExist(ctx context.Context, req *rpc_catalog_discount.IsExistDiscountRequest, ...) error
- func (h *DiscountHandler) Paginate(ctx context.Context, req *rpc_catalog_discount.PaginateDiscountRequest, ...) error
- func (h *DiscountHandler) Sync(ctx context.Context, req *rpc_catalog_discount.SyncDiscountRequest, ...) error
- func (h *DiscountHandler) SyncPrices(ctx context.Context, req *rpc_catalog_discount.SyncPricesDiscountRequest, ...) error
- type HallHandler
- func (h *HallHandler) Create(ctx context.Context, req *rpc_catalog_hall.CreateRequest, ...) error
- func (h *HallHandler) Delete(ctx context.Context, req *rpc_catalog_hall.DeleteRequest, rsp *empty.Empty) error
- func (h *HallHandler) Get(ctx context.Context, req *rpc_catalog_hall.GetRequest, ...) error
- func (h *HallHandler) IsExist(ctx context.Context, req *rpc_catalog_hall.IsExistRequest, rsp *empty.Empty) error
- func (h *HallHandler) Paginate(ctx context.Context, req *rpc_catalog_hall.PaginateRequest, ...) error
- func (h *HallHandler) Sync(ctx context.Context, req *rpc_catalog_hall.SyncRequest, ...) error
- func (h *HallHandler) Update(ctx context.Context, req *rpc_catalog_hall.UpdateRequest, ...) error
- type MovieHandler
- func (h *MovieHandler) Create(ctx context.Context, req *rpc_catalog_movie.CreateRequest, ...) error
- func (h *MovieHandler) Delete(ctx context.Context, req *rpc_catalog_movie.DeleteRequest, rsp *empty.Empty) 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.FormatRequest, ...) error
- func (h *MovieHandler) Get(ctx context.Context, req *rpc_catalog_movie.GetRequest, ...) 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.IsExistRequest, rsp *empty.Empty) error
- func (h *MovieHandler) Paginate(ctx context.Context, req *rpc_catalog_movie.PaginateRequest, ...) error
- func (h *MovieHandler) Sync(ctx context.Context, req *rpc_catalog_movie.SyncRequest, ...) error
- func (h *MovieHandler) Update(ctx context.Context, req *rpc_catalog_movie.UpdateRequest, ...) error
- func (h *MovieHandler) UpdateMoviesParent(ctx context.Context, req *rpc_catalog_movie.UpdateMoviesParentRequest, ...) error
- type ScheduleHandler
- type 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
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 *rpc_catalog.SyncCatalogRequest, rsp *rpc_catalog.SyncCatalogResponse) error
Sync ...
type CinemaHandler ¶
type CinemaHandler struct {
// contains filtered or unexported fields
}
CinemaHandler ...
func NewCinemaHandler ¶
func NewCinemaHandler( cinemaService service.CinemaService, ) *CinemaHandler
NewCinemaHandler ...
func (*CinemaHandler) Create ¶
func (h *CinemaHandler) Create(ctx context.Context, req *rpc_catalog_cinema.CreateRequest, rsp *rpc_catalog_cinema.CreateResponse) error
func (*CinemaHandler) Delete ¶
func (h *CinemaHandler) Delete(ctx context.Context, req *rpc_catalog_cinema.DeleteRequest, rsp *empty.Empty) error
func (*CinemaHandler) Get ¶
func (h *CinemaHandler) Get(ctx context.Context, req *rpc_catalog_cinema.GetRequest, rsp *rpc_catalog_cinema.GetResponse) error
func (*CinemaHandler) GetCity ¶
func (h *CinemaHandler) GetCity(ctx context.Context, req *rpc_catalog_cinema.GetCinemaCityRequest, rsp *rpc_catalog_cinema.GetCinemaCityResponse) error
func (*CinemaHandler) GetHalls ¶
func (h *CinemaHandler) GetHalls(ctx context.Context, req *rpc_catalog_cinema.GetCinemaHallsRequest, rsp *rpc_catalog_cinema.GetCinemaHallsResponse) error
func (*CinemaHandler) GetSeances ¶
func (h *CinemaHandler) GetSeances(ctx context.Context, req *rpc_catalog_cinema.GetCinemaSeancesRequest, rsp *rpc_catalog_cinema.GetCinemaSeancesResponse) error
func (*CinemaHandler) IsExist ¶
func (h *CinemaHandler) IsExist(ctx context.Context, req *rpc_catalog_cinema.IsExistRequest, rsp *empty.Empty) error
func (*CinemaHandler) Paginate ¶
func (h *CinemaHandler) Paginate(ctx context.Context, req *rpc_catalog_cinema.PaginateRequest, rsp *rpc_catalog_cinema.PaginateResponse) error
func (*CinemaHandler) Sync ¶
func (h *CinemaHandler) Sync(ctx context.Context, req *rpc_catalog_cinema.SyncRequest, rsp *rpc_catalog_cinema.SyncResponse) error
Sync ...
func (*CinemaHandler) Update ¶
func (h *CinemaHandler) Update(ctx context.Context, req *rpc_catalog_cinema.UpdateRequest, rsp *rpc_catalog_cinema.UpdateResponse) error
type CityHandler ¶
type CityHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCityHandler ¶
func NewCityHandler( cityService service.CityService, ) *CityHandler
NewCityHandler ...
func (*CityHandler) Create ¶
func (h *CityHandler) Create(ctx context.Context, req *rpc_catalog_city.CreateRequest, rsp *rpc_catalog_city.CreateResponse) error
func (*CityHandler) Delete ¶
func (h *CityHandler) Delete(ctx context.Context, req *rpc_catalog_city.DeleteRequest, rsp *empty.Empty) error
func (*CityHandler) Get ¶
func (h *CityHandler) Get(ctx context.Context, req *rpc_catalog_city.GetRequest, rsp *rpc_catalog_city.GetResponse) error
func (*CityHandler) GetCinemas ¶
func (h *CityHandler) GetCinemas(ctx context.Context, req *rpc_catalog_city.GetCityCinemasRequest, rsp *rpc_catalog_city.GetCityCinemasResponse) error
func (*CityHandler) GetSeances ¶
func (h *CityHandler) GetSeances(ctx context.Context, req *rpc_catalog_city.GetCitySeancesRequest, rsp *rpc_catalog_city.GetCitySeancesResponse) error
func (*CityHandler) GetTimezone ¶
func (h *CityHandler) GetTimezone(ctx context.Context, req *rpc_catalog_city.GetCityTimezoneRequest, rsp *rpc_catalog_city.GetCityTimezoneResponse) error
func (*CityHandler) IsExist ¶
func (h *CityHandler) IsExist(ctx context.Context, req *rpc_catalog_city.IsExistRequest, rsp *empty.Empty) error
func (*CityHandler) Paginate ¶
func (h *CityHandler) Paginate(ctx context.Context, req *rpc_catalog_city.PaginateRequest, rsp *rpc_catalog_city.PaginateResponse) error
func (*CityHandler) Sync ¶
func (h *CityHandler) Sync(ctx context.Context, req *rpc_catalog_city.SyncRequest, rsp *rpc_catalog_city.SyncResponse) error
Sync ...
func (*CityHandler) Update ¶
func (h *CityHandler) Update(ctx context.Context, req *rpc_catalog_city.UpdateRequest, rsp *rpc_catalog_city.UpdateResponse) error
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 *rpc_catalog_combine.SyncCombineRequest, rsp *rpc_catalog_combine.SyncCombineResponse) error
Sync ...
type DiscountHandler ¶
type DiscountHandler struct {
// contains filtered or unexported fields
}
DiscountHandler ...
func NewDiscountHandler ¶
func NewDiscountHandler( discountService service.DiscountService, ) *DiscountHandler
NewDiscountHandler ...
func (*DiscountHandler) Get ¶
func (h *DiscountHandler) Get(ctx context.Context, req *rpc_catalog_discount.GetDiscountRequest, rsp *rpc_catalog_discount.GetDiscountResponse) error
func (*DiscountHandler) IsExist ¶
func (h *DiscountHandler) IsExist(ctx context.Context, req *rpc_catalog_discount.IsExistDiscountRequest, rsp *empty.Empty) error
func (*DiscountHandler) Paginate ¶
func (h *DiscountHandler) Paginate(ctx context.Context, req *rpc_catalog_discount.PaginateDiscountRequest, rsp *rpc_catalog_discount.PaginateDiscountResponse) error
func (*DiscountHandler) Sync ¶
func (h *DiscountHandler) Sync(ctx context.Context, req *rpc_catalog_discount.SyncDiscountRequest, rsp *rpc_catalog_discount.SyncDiscountResponse) error
Sync ...
func (*DiscountHandler) SyncPrices ¶
func (h *DiscountHandler) SyncPrices(ctx context.Context, req *rpc_catalog_discount.SyncPricesDiscountRequest, rsp *rpc_catalog_discount.SyncDiscountResponse) error
SyncPrices ...
type HallHandler ¶
type HallHandler struct {
// contains filtered or unexported fields
}
HallHandler ...
func NewHallHandler ¶
func NewHallHandler( hallService service.HallService, ) *HallHandler
NewHallHandler ...
func (*HallHandler) Create ¶
func (h *HallHandler) Create(ctx context.Context, req *rpc_catalog_hall.CreateRequest, rsp *rpc_catalog_hall.CreateResponse) error
func (*HallHandler) Delete ¶
func (h *HallHandler) Delete(ctx context.Context, req *rpc_catalog_hall.DeleteRequest, rsp *empty.Empty) error
func (*HallHandler) Get ¶
func (h *HallHandler) Get(ctx context.Context, req *rpc_catalog_hall.GetRequest, rsp *rpc_catalog_hall.GetResponse) error
func (*HallHandler) IsExist ¶
func (h *HallHandler) IsExist(ctx context.Context, req *rpc_catalog_hall.IsExistRequest, rsp *empty.Empty) error
func (*HallHandler) Paginate ¶
func (h *HallHandler) Paginate(ctx context.Context, req *rpc_catalog_hall.PaginateRequest, rsp *rpc_catalog_hall.PaginateResponse) error
func (*HallHandler) Sync ¶
func (h *HallHandler) Sync(ctx context.Context, req *rpc_catalog_hall.SyncRequest, rsp *rpc_catalog_hall.SyncResponse) error
Sync ...
func (*HallHandler) Update ¶
func (h *HallHandler) Update(ctx context.Context, req *rpc_catalog_hall.UpdateRequest, rsp *rpc_catalog_hall.UpdateResponse) error
type MovieHandler ¶
type MovieHandler struct {
// contains filtered or unexported fields
}
MovieHandler ...
func NewMovieHandler ¶
func NewMovieHandler( movieService service.MovieService, ) *MovieHandler
NewMovieHandler ...
func (*MovieHandler) Create ¶
func (h *MovieHandler) Create(ctx context.Context, req *rpc_catalog_movie.CreateRequest, rsp *rpc_catalog_movie.CreateResponse) error
func (*MovieHandler) Delete ¶
func (h *MovieHandler) Delete(ctx context.Context, req *rpc_catalog_movie.DeleteRequest, rsp *empty.Empty) error
func (*MovieHandler) FindMoviesByName ¶
func (h *MovieHandler) FindMoviesByName(ctx context.Context, req *rpc_catalog_movie.FindMoviesByNameRequest, rsp *rpc_catalog_movie.FindMoviesByNameResponse) error
func (*MovieHandler) Format ¶
func (h *MovieHandler) Format(ctx context.Context, req *rpc_catalog_movie.FormatRequest, rsp *rpc_catalog_movie.FormatResponse) error
Format ...
func (*MovieHandler) Get ¶
func (h *MovieHandler) Get(ctx context.Context, req *rpc_catalog_movie.GetRequest, rsp *rpc_catalog_movie.GetResponse) error
func (*MovieHandler) GetSeances ¶
func (h *MovieHandler) GetSeances(ctx context.Context, req *rpc_catalog_movie.GetMovieSeancesRequest, rsp *rpc_catalog_movie.GetMovieSeancesResponse) error
func (*MovieHandler) GetSoon ¶
func (h *MovieHandler) GetSoon(ctx context.Context, req *rpc_catalog_movie.GetMoviesSoonRequest, rsp *rpc_catalog_movie.GetMoviesSoonResponse) error
func (*MovieHandler) GetToday ¶
func (h *MovieHandler) GetToday(ctx context.Context, req *rpc_catalog_movie.GetMoviesTodayRequest, rsp *rpc_catalog_movie.GetMoviesTodayResponse) error
func (*MovieHandler) IsExist ¶
func (h *MovieHandler) IsExist(ctx context.Context, req *rpc_catalog_movie.IsExistRequest, rsp *empty.Empty) error
func (*MovieHandler) Paginate ¶
func (h *MovieHandler) Paginate(ctx context.Context, req *rpc_catalog_movie.PaginateRequest, rsp *rpc_catalog_movie.PaginateResponse) error
func (*MovieHandler) Sync ¶
func (h *MovieHandler) Sync(ctx context.Context, req *rpc_catalog_movie.SyncRequest, rsp *rpc_catalog_movie.SyncResponse) error
Sync ...
func (*MovieHandler) Update ¶
func (h *MovieHandler) Update(ctx context.Context, req *rpc_catalog_movie.UpdateRequest, rsp *rpc_catalog_movie.UpdateResponse) error
func (*MovieHandler) UpdateMoviesParent ¶
func (h *MovieHandler) UpdateMoviesParent(ctx context.Context, req *rpc_catalog_movie.UpdateMoviesParentRequest, rsp *rpc_catalog_movie.UpdateMoviesParentResponse) error
type ScheduleHandler ¶
type ScheduleHandler struct {
// contains filtered or unexported fields
}
ScheduleHandler ...
func NewScheduleHandler ¶
func NewScheduleHandler( scheduleService service.ScheduleService, ) *ScheduleHandler
NewScheduleHandler ...
func (*ScheduleHandler) Paginate ¶
func (h *ScheduleHandler) Paginate(ctx context.Context, req *rpc_catalog_schedule.PaginateScheduleRequest, rsp *rpc_catalog_schedule.PaginateScheduleResponse) error
func (*ScheduleHandler) Sync ¶
func (h *ScheduleHandler) Sync(ctx context.Context, req *rpc_catalog_schedule.SyncScheduleRequest, rsp *rpc_catalog_schedule.SyncScheduleResponse) 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) Create ¶
func (h *SeanceHandler) Create(ctx context.Context, req *rpc_catalog_seance.CreateSeanceRequest, rsp *rpc_catalog_seance.CreateSeanceResponse) error
func (*SeanceHandler) Delete ¶
func (h *SeanceHandler) Delete(ctx context.Context, req *rpc_catalog_seance.DeleteSeanceRequest, rsp *rpc_catalog_seance.DeleteSeanceResponse) error
func (*SeanceHandler) Get ¶
func (h *SeanceHandler) Get(ctx context.Context, req *rpc_catalog_seance.GetSeanceRequest, rsp *rpc_catalog_seance.GetSeanceResponse) error
func (*SeanceHandler) GetCinema ¶
func (h *SeanceHandler) GetCinema(ctx context.Context, req *rpc_catalog_seance.GetSeanceCinemaRequest, rsp *rpc_catalog_seance.GetSeanceCinemaResponse) error
func (*SeanceHandler) GetCity ¶
func (h *SeanceHandler) GetCity(ctx context.Context, req *rpc_catalog_seance.GetSeanceCityRequest, rsp *rpc_catalog_seance.GetSeanceCityResponse) error
func (*SeanceHandler) GetHall ¶
func (h *SeanceHandler) GetHall(ctx context.Context, req *rpc_catalog_seance.GetSeanceHallRequest, rsp *rpc_catalog_seance.GetSeanceHallResponse) error
func (*SeanceHandler) GetLocal ¶
func (h *SeanceHandler) GetLocal(ctx context.Context, req *rpc_catalog_seance.GetSeanceLocalRequest, rsp *rpc_catalog_seance.GetSeanceLocalResponse) error
func (*SeanceHandler) GetMovie ¶
func (h *SeanceHandler) GetMovie(ctx context.Context, req *rpc_catalog_seance.GetSeanceMovieRequest, rsp *rpc_catalog_seance.GetSeanceMovieResponse) error
func (*SeanceHandler) IsExist ¶
func (h *SeanceHandler) IsExist(ctx context.Context, req *rpc_catalog_seance.IsExistSeanceRequest, rsp *empty.Empty) error
func (*SeanceHandler) Paginate ¶
func (h *SeanceHandler) Paginate(ctx context.Context, req *rpc_catalog_seance.PaginateSeanceRequest, rsp *rpc_catalog_seance.PaginateSeanceResponse) error
func (*SeanceHandler) Sync ¶
func (h *SeanceHandler) Sync(ctx context.Context, req *rpc_catalog_seance.SyncSeanceRequest, rsp *rpc_catalog_seance.SyncSeanceResponse) error
Sync ...
func (*SeanceHandler) SyncSeanceDiscounts ¶
func (h *SeanceHandler) SyncSeanceDiscounts(ctx context.Context, req *rpc_catalog_seance.SyncSeanceDiscountsRequest, rsp *rpc_catalog_seance.SyncSeanceDiscountsResponse) error
SyncSeanceDiscounts ...
func (*SeanceHandler) Update ¶
func (h *SeanceHandler) Update(ctx context.Context, req *rpc_catalog_seance.UpdateSeanceRequest, rsp *rpc_catalog_seance.UpdateSeanceResponse) error
Click to show internal directories.
Click to hide internal directories.