Documentation ¶
Index ¶
- type Options
- type Plugin
- func (p *Plugin) ClearReservedSeats(reservationNumber string, cinemaID int64) error
- func (p *Plugin) Close() error
- func (p *Plugin) GetClient() *resty.Client
- func (p *Plugin) GetConfiguration() interface{}
- func (p *Plugin) GetName() string
- func (p *Plugin) GetVersion() string
- func (p *Plugin) HallScheme(seanceID int64, containerID int64, cinemaID int64) ([]response.SeatResponse, error)
- func (p *Plugin) HallSeatStatus(seanceID int64, containerID int64, cinemaID int64) ([]response.SeatResponse, error)
- func (p *Plugin) HallStructure(seanceID int64, containerID int64, cinemaID int64) (*response.HallStructureResponse, error)
- func (p *Plugin) Init() error
- func (p *Plugin) Prices(seanceID int64, cinemaID int64) ([]response.PriceResponse, error)
- func (p *Plugin) ReservationInfoByNumber(reservationNumber string, cinemaID int64) (*response.ReservationInfoByNumber, error)
- func (p *Plugin) ReservationPayed(reservationID int64, amount float64, cinemaID int64) error
- func (p *Plugin) ReservationPayedWithContract(reservationID int64, contractId int64, amount float64, cinemaID int64) error
- func (p *Plugin) ReserveSeats(req interface{}, cinemaID int64) (*response.ReserveSeatsResponse, error)
- func (p *Plugin) SeanceAvailabilty(seanceID int64, cinemaID int64) (*response.SeanceAvailabiltyResponse, error)
- func (p *Plugin) Version(cinemaID int64) (*response.VersionResponse, error)
- type RestyFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { plugin.Plugin Options *Options Configuration configuration // contains filtered or unexported fields }
Rabbitmq plugin
func (*Plugin) ClearReservedSeats ¶ added in v0.5.0
ClearReservedSeats clear reserved seats
func (*Plugin) GetConfiguration ¶
func (p *Plugin) GetConfiguration() interface{}
GetConfiguration return configuration
func (*Plugin) GetVersion ¶
func (*Plugin) HallScheme ¶ added in v0.5.0
func (*Plugin) HallSeatStatus ¶ added in v0.5.0
func (*Plugin) HallStructure ¶ added in v0.5.0
func (*Plugin) ReservationInfoByNumber ¶ added in v0.5.0
func (*Plugin) ReservationPayed ¶ added in v0.5.0
func (*Plugin) ReservationPayedWithContract ¶ added in v0.5.0
func (*Plugin) ReserveSeats ¶ added in v0.5.0
func (p *Plugin) ReserveSeats(req interface{}, cinemaID int64) (*response.ReserveSeatsResponse, error)
func (*Plugin) SeanceAvailabilty ¶ added in v0.5.0
type RestyFormatter ¶ added in v0.5.0
type RestyFormatter struct{}
Click to show internal directories.
Click to hide internal directories.