subscriber

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s micro.Service, c *dig.Container) error

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

NewCatalogSubscriber init subscriber

func (*CatalogSubscriber) Sync added in v1.1.0

func (e *CatalogSubscriber) Sync(event broker.Event) error

Sync ...

type CinemaSubscriber

type CinemaSubscriber struct {
	// contains filtered or unexported fields
}

CinemaSubscriber struct

func NewCinemaSubscriber

func NewCinemaSubscriber(cinemaService service.CinemaService) *CinemaSubscriber

NewCinemaSubscriber init subscriber

func (*CinemaSubscriber) Sync added in v1.1.0

func (e *CinemaSubscriber) Sync(event broker.Event) error

Sync ...

type CitySubscriber

type CitySubscriber struct {
	// contains filtered or unexported fields
}

CitySubscriber struct

func NewCitySubscriber

func NewCitySubscriber(cityService service.CityService) *CitySubscriber

NewCitySubscriber init subscriber

func (*CitySubscriber) Sync added in v1.1.0

func (e *CitySubscriber) Sync(event broker.Event) error

Sync ...

type CombineSubscriber

type CombineSubscriber struct {
	// contains filtered or unexported fields
}

CombineSubscriber struct

func NewCombineSubscriber

func NewCombineSubscriber(combineService service.CombineService) *CombineSubscriber

NewCombineSubscriber init subscriber

func (*CombineSubscriber) Sync added in v1.1.0

func (e *CombineSubscriber) Sync(event broker.Event) error

Sync ...

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

func (*HallSubscriber) Sync added in v1.1.0

func (e *HallSubscriber) Sync(event broker.Event) error

Sync ...

type MovieSubscriber

type MovieSubscriber struct {
	// contains filtered or unexported fields
}

MovieSubscriber struct

func NewMovieSubscriber

func NewMovieSubscriber(movieService service.MovieService) *MovieSubscriber

NewMovieSubscriber init subscriber

func (*MovieSubscriber) Format added in v1.1.0

func (e *MovieSubscriber) Format(event broker.Event) error

Format ...

func (*MovieSubscriber) Sync added in v1.1.0

func (e *MovieSubscriber) Sync(event broker.Event) error

Sync ...

type ScheduleSubscriber

type ScheduleSubscriber struct {
	// contains filtered or unexported fields
}

ScheduleSubscriber struct

func NewScheduleSubscriber

func NewScheduleSubscriber(scheduleService service.ScheduleService) *ScheduleSubscriber

NewScheduleSubscriber init subscriber

func (*ScheduleSubscriber) Sync added in v1.1.0

func (e *ScheduleSubscriber) Sync(event broker.Event) error

Handle ...

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 ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL