subscriber

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 8 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

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

CatalogSubscriber struct

func NewCatalogSubscriber

NewCatalogSubscriber init subscriber

func (*CatalogSubscriber) Sync

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

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

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

Sync ...

type DiscountSubscriber

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

SeanceSubscriber struct

func NewDiscountSubscriber

func NewDiscountSubscriber(
	discountService service.DiscountService,
) *DiscountSubscriber

NewSeanceSubscriber init subscriber

func (*DiscountSubscriber) Sync

Sync ...

func (*DiscountSubscriber) SyncPrices

func (e *DiscountSubscriber) SyncPrices(ctx context.Context, msg *pb_shared.SyncRequest) 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

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

Format ...

func (*MovieSubscriber) Sync

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

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

Sync ...

func (*SeanceSubscriber) SyncToSeance

func (e *SeanceSubscriber) SyncToSeance(ctx context.Context, msg *pb_shared.SyncRequest) error

SyncToSeance ...

Jump to

Keyboard shortcuts

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