cinemaservice

package
v0.0.0-...-f5f0fde Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CinemaService

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

func NewCinemaService

func NewCinemaService(addr string,
	cfg config.ConnectionSecureConfig, logger *logrus.Logger) (*CinemaService, error)

func (*CinemaService) GetScreening

func (s *CinemaService) GetScreening(ctx context.Context, screeningId int64) (screening service.Screening, err error)

func (*CinemaService) GetScreeningStartTime

func (s *CinemaService) GetScreeningStartTime(ctx context.Context, screeningId int64) (startTime time.Time, err error)

func (*CinemaService) GetScreeningTicketPrice

func (s *CinemaService) GetScreeningTicketPrice(ctx context.Context, screeningId int64) (price uint32, err error)

func (*CinemaService) Shutdown

func (s *CinemaService) Shutdown() error

Jump to

Keyboard shortcuts

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