Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CatalogSubscriber ¶ added in v1.1.0
type CatalogSubscriber struct {
// contains filtered or unexported fields
}
CatalogSubscriber struct
func NewCatalogSubscriber ¶ added in v1.1.0
func NewCatalogSubscriber( combine service.CombineService, city service.CityService, cinema service.CinemaService, hall service.HallService, movie service.MovieService, seance service.SeanceService, discount service.DiscountService, schedule service.ScheduleService, ) *CatalogSubscriber
NewCatalogSubscriber init subscriber
type CinemaSubscriber ¶
type CinemaSubscriber struct {
// contains filtered or unexported fields
}
CinemaSubscriber struct
func NewCinemaSubscriber ¶
func NewCinemaSubscriber(cinemaService service.CinemaService) *CinemaSubscriber
NewCinemaSubscriber init subscriber
type CitySubscriber ¶
type CitySubscriber struct {
// contains filtered or unexported fields
}
CitySubscriber struct
func NewCitySubscriber ¶
func NewCitySubscriber(cityService service.CityService) *CitySubscriber
NewCitySubscriber init subscriber
type CombineSubscriber ¶
type CombineSubscriber struct {
// contains filtered or unexported fields
}
CombineSubscriber struct
func NewCombineSubscriber ¶
func NewCombineSubscriber(combineService service.CombineService) *CombineSubscriber
NewCombineSubscriber init subscriber
type DiscountSubscriber ¶ added in v1.1.0
type DiscountSubscriber struct {
// contains filtered or unexported fields
}
SeanceSubscriber struct
func NewDiscountSubscriber ¶ added in v1.1.0
func NewDiscountSubscriber( discountService service.DiscountService, ) *DiscountSubscriber
NewSeanceSubscriber init subscriber
func (*DiscountSubscriber) Sync ¶ added in v1.1.0
func (e *DiscountSubscriber) Sync(event broker.Event) error
Sync ...
func (*DiscountSubscriber) SyncPrices ¶ added in v1.1.0
func (e *DiscountSubscriber) SyncPrices(event broker.Event) error
SyncPrices ...
type HallSubscriber ¶
type HallSubscriber struct {
// contains filtered or unexported fields
}
HallSubscriber struct
func NewHallSubscriber ¶
func NewHallSubscriber(hallService service.HallService) *HallSubscriber
NewHallSubscriber init subscriber
type MovieSubscriber ¶
type MovieSubscriber struct {
// contains filtered or unexported fields
}
MovieSubscriber struct
func NewMovieSubscriber ¶
func NewMovieSubscriber(movieService service.MovieService) *MovieSubscriber
NewMovieSubscriber init subscriber
type ScheduleSubscriber ¶
type ScheduleSubscriber struct {
// contains filtered or unexported fields
}
ScheduleSubscriber struct
func NewScheduleSubscriber ¶
func NewScheduleSubscriber(scheduleService service.ScheduleService) *ScheduleSubscriber
NewScheduleSubscriber init subscriber
type SeanceSubscriber ¶
type SeanceSubscriber struct {
// contains filtered or unexported fields
}
SeanceSubscriber struct
func NewSeanceSubscriber ¶
func NewSeanceSubscriber( seanceService service.SeanceService, discountService service.DiscountService, ) *SeanceSubscriber
NewSeanceSubscriber init subscriber
func (*SeanceSubscriber) Sync ¶ added in v1.1.0
func (e *SeanceSubscriber) Sync(event broker.Event) error
Sync ...
func (*SeanceSubscriber) SyncToSeance ¶ added in v1.1.0
func (e *SeanceSubscriber) SyncToSeance(event broker.Event) error
SyncToSeance ...
Click to show internal directories.
Click to hide internal directories.