Documentation ¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- 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 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 CinemaHandler ¶
type CinemaHandler struct {
// contains filtered or unexported fields
}
CinemaHandler ...
func NewCinemaHandler ¶
func NewCinemaHandler( cinema 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
Create ...
func (*CinemaHandler) Delete ¶
func (h *CinemaHandler) Delete(ctx context.Context, req *rpc_catalog_cinema.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*CinemaHandler) Get ¶
func (h *CinemaHandler) Get(ctx context.Context, req *rpc_catalog_cinema.GetRequest, rsp *rpc_catalog_cinema.GetResponse) error
Get ...
func (*CinemaHandler) GetCity ¶
func (h *CinemaHandler) GetCity(ctx context.Context, req *rpc_catalog_cinema.GetCinemaCityRequest, rsp *rpc_catalog_cinema.GetCinemaCityResponse) error
GetCity ...
func (*CinemaHandler) GetHalls ¶
func (h *CinemaHandler) GetHalls(ctx context.Context, req *rpc_catalog_cinema.GetCinemaHallsRequest, rsp *rpc_catalog_cinema.GetCinemaHallsResponse) error
GetHalls ...
func (*CinemaHandler) GetSeances ¶
func (h *CinemaHandler) GetSeances(ctx context.Context, req *rpc_catalog_cinema.GetCinemaSeancesRequest, rsp *rpc_catalog_cinema.GetCinemaSeancesResponse) error
GetSeances ...
func (*CinemaHandler) IsExist ¶
func (h *CinemaHandler) IsExist(ctx context.Context, req *rpc_catalog_cinema.IsExistRequest, rsp *empty.Empty) error
IsExist ...
func (*CinemaHandler) Paginate ¶
func (h *CinemaHandler) Paginate(ctx context.Context, req *rpc_catalog_cinema.PaginateRequest, rsp *rpc_catalog_cinema.PaginateResponse) error
Paginate ...
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
Update ...
type CityHandler ¶
type CityHandler struct {
// contains filtered or unexported fields
}
CityHandler ...
func NewCityHandler ¶
func NewCityHandler( city 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
Create ...
func (*CityHandler) Delete ¶
func (h *CityHandler) Delete(ctx context.Context, req *rpc_catalog_city.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*CityHandler) Get ¶
func (h *CityHandler) Get(ctx context.Context, req *rpc_catalog_city.GetRequest, rsp *rpc_catalog_city.GetResponse) error
Get ...
func (*CityHandler) GetCinemas ¶
func (h *CityHandler) GetCinemas(ctx context.Context, req *rpc_catalog_city.GetCityCinemasRequest, rsp *rpc_catalog_city.GetCityCinemasResponse) error
GetCinemas ...
func (*CityHandler) GetSeances ¶
func (h *CityHandler) GetSeances(ctx context.Context, req *rpc_catalog_city.GetCitySeancesRequest, rsp *rpc_catalog_city.GetCitySeancesResponse) error
GetSeances ...
func (*CityHandler) GetTimezone ¶
func (h *CityHandler) GetTimezone(ctx context.Context, req *rpc_catalog_city.GetCityTimezoneRequest, rsp *rpc_catalog_city.GetCityTimezoneResponse) error
Get ...
func (*CityHandler) IsExist ¶
func (h *CityHandler) IsExist(ctx context.Context, req *rpc_catalog_city.IsExistRequest, rsp *empty.Empty) error
IsExist ...
func (*CityHandler) Paginate ¶
func (h *CityHandler) Paginate(ctx context.Context, req *rpc_catalog_city.PaginateRequest, rsp *rpc_catalog_city.PaginateResponse) error
Paginate ...
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
Update ...
type HallHandler ¶
type HallHandler struct {
// contains filtered or unexported fields
}
HallHandler ...
func NewHallHandler ¶
func NewHallHandler( hall 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
Create ...
func (*HallHandler) Delete ¶
func (h *HallHandler) Delete(ctx context.Context, req *rpc_catalog_hall.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*HallHandler) Get ¶
func (h *HallHandler) Get(ctx context.Context, req *rpc_catalog_hall.GetRequest, rsp *rpc_catalog_hall.GetResponse) error
Get ...
func (*HallHandler) IsExist ¶
func (h *HallHandler) IsExist(ctx context.Context, req *rpc_catalog_hall.IsExistRequest, rsp *empty.Empty) error
IsExist ...
func (*HallHandler) Paginate ¶
func (h *HallHandler) Paginate(ctx context.Context, req *rpc_catalog_hall.PaginateRequest, rsp *rpc_catalog_hall.PaginateResponse) error
Paginate ...
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
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 ¶
func (h *MovieHandler) Create(ctx context.Context, req *rpc_catalog_movie.CreateRequest, rsp *rpc_catalog_movie.CreateResponse) error
Create ...
func (*MovieHandler) Delete ¶
func (h *MovieHandler) Delete(ctx context.Context, req *rpc_catalog_movie.DeleteRequest, rsp *empty.Empty) error
Delete ...
func (*MovieHandler) FindMoviesByName ¶
func (h *MovieHandler) FindMoviesByName(ctx context.Context, req *rpc_catalog_movie.FindMoviesByNameRequest, rsp *rpc_catalog_movie.FindMoviesByNameResponse) error
FindMoviesByName ...
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
Get ...
func (*MovieHandler) GetSeances ¶
func (h *MovieHandler) GetSeances(ctx context.Context, req *rpc_catalog_movie.GetMovieSeancesRequest, rsp *rpc_catalog_movie.GetMovieSeancesResponse) error
GetSeances ...
func (*MovieHandler) GetSoon ¶
func (h *MovieHandler) GetSoon(ctx context.Context, req *rpc_catalog_movie.GetMoviesSoonRequest, rsp *rpc_catalog_movie.GetMoviesSoonResponse) error
GetSoon ...
func (*MovieHandler) GetToday ¶
func (h *MovieHandler) GetToday(ctx context.Context, req *rpc_catalog_movie.GetMoviesTodayRequest, rsp *rpc_catalog_movie.GetMoviesTodayResponse) error
GetToday ...
func (*MovieHandler) IsExist ¶
func (h *MovieHandler) IsExist(ctx context.Context, req *rpc_catalog_movie.IsExistRequest, rsp *empty.Empty) error
IsExist ...
func (*MovieHandler) Paginate ¶
func (h *MovieHandler) Paginate(ctx context.Context, req *rpc_catalog_movie.PaginateRequest, rsp *rpc_catalog_movie.PaginateResponse) error
Paginate ...
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
Update ...
func (*MovieHandler) UpdateMoviesParent ¶
func (h *MovieHandler) UpdateMoviesParent(ctx context.Context, req *rpc_catalog_movie.UpdateMoviesParentRequest, rsp *rpc_catalog_movie.UpdateMoviesParentResponse) error
UpdateMoviesParent ...
type ScheduleHandler ¶
type ScheduleHandler struct {
// contains filtered or unexported fields
}
ScheduleHandler ...
func NewScheduleHandler ¶
func NewScheduleHandler( schedule 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
Paginate ...
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( seance service.SeanceService, ) *SeanceHandler
NewSeanceHandler ...
func (*SeanceHandler) Create ¶
func (h *SeanceHandler) Create(ctx context.Context, req *rpc_catalog_seance.CreateSeanceRequest, rsp *rpc_catalog_seance.CreateSeanceResponse) error
Create ...
func (*SeanceHandler) Delete ¶
func (h *SeanceHandler) Delete(ctx context.Context, req *rpc_catalog_seance.DeleteSeanceRequest, rsp *rpc_catalog_seance.DeleteSeanceResponse) error
Delete ...
func (*SeanceHandler) Get ¶
func (h *SeanceHandler) Get(ctx context.Context, req *rpc_catalog_seance.GetSeanceRequest, rsp *rpc_catalog_seance.GetSeanceResponse) error
Get ...
func (*SeanceHandler) GetCinema ¶
func (h *SeanceHandler) GetCinema(ctx context.Context, req *rpc_catalog_seance.GetSeanceCinemaRequest, rsp *rpc_catalog_seance.GetSeanceCinemaResponse) error
GetCinema ...
func (*SeanceHandler) GetCity ¶
func (h *SeanceHandler) GetCity(ctx context.Context, req *rpc_catalog_seance.GetSeanceCityRequest, rsp *rpc_catalog_seance.GetSeanceCityResponse) error
GetCity ...
func (*SeanceHandler) GetHall ¶
func (h *SeanceHandler) GetHall(ctx context.Context, req *rpc_catalog_seance.GetSeanceHallRequest, rsp *rpc_catalog_seance.GetSeanceHallResponse) error
GetHall ...
func (*SeanceHandler) GetLocal ¶
func (h *SeanceHandler) GetLocal(ctx context.Context, req *rpc_catalog_seance.GetSeanceLocalRequest, rsp *rpc_catalog_seance.GetSeanceLocalResponse) error
GetLocal ...
func (*SeanceHandler) GetMovie ¶
func (h *SeanceHandler) GetMovie(ctx context.Context, req *rpc_catalog_seance.GetSeanceMovieRequest, rsp *rpc_catalog_seance.GetSeanceMovieResponse) error
GetMovie ...
func (*SeanceHandler) IsExist ¶
func (h *SeanceHandler) IsExist(ctx context.Context, req *rpc_catalog_seance.IsExistSeanceRequest, rsp *empty.Empty) error
IsExist ...
func (*SeanceHandler) Paginate ¶
func (h *SeanceHandler) Paginate(ctx context.Context, req *rpc_catalog_seance.PaginateSeanceRequest, rsp *rpc_catalog_seance.PaginateSeanceResponse) error
Paginate ...
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
Sync ...
func (*SeanceHandler) Update ¶
func (h *SeanceHandler) Update(ctx context.Context, req *rpc_catalog_seance.UpdateSeanceRequest, rsp *rpc_catalog_seance.UpdateSeanceResponse) error
Update ...