screeningsservice

package
v0.0.0-...-5b9e52f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScreeningsService

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

func NewScreeningsService

func NewScreeningsService(cinemaServiceAddr string,
	cinemaServiceSecureConfig config.ConnectionSecureConfig,
	moviesServiceAddr string,
	moviesServiceSecureConfig config.ConnectionSecureConfig,
	logger *logrus.Logger) (*ScreeningsService, error)

func (*ScreeningsService) GetScreeningInfo

func (s *ScreeningsService) GetScreeningInfo(ctx context.Context, screeningId int64) (screening models.Screening, err error)

func (*ScreeningsService) Shutdown

func (s *ScreeningsService) Shutdown()