Documentation ¶
Index ¶
- type CinemaService
- func (s *CinemaService) GetScreening(ctx context.Context, screeningId int64) (screening service.Screening, err error)
- func (s *CinemaService) GetScreeningStartTime(ctx context.Context, screeningId int64) (startTime time.Time, err error)
- func (s *CinemaService) GetScreeningTicketPrice(ctx context.Context, screeningId int64) (price uint32, err error)
- func (s *CinemaService) Shutdown() error
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 (*CinemaService) GetScreeningStartTime ¶
func (*CinemaService) GetScreeningTicketPrice ¶
func (*CinemaService) Shutdown ¶
func (s *CinemaService) Shutdown() error
Click to show internal directories.
Click to hide internal directories.