Documentation ¶
Index ¶
- func NewAircraftEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewAirlinesEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewAirportsEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewAllegrisUpdateFeedEndpoint(s3c adapt.S3Getter, bucket, suffix string) echo.HandlerFunc
- func NewConnectionsEndpoint(ch *search.ConnectionsHandler, export string) echo.HandlerFunc
- func NewConnectionsShareCreateEndpoint() echo.HandlerFunc
- func NewConnectionsShareHTMLEndpoint() echo.HandlerFunc
- func NewFlightNumberEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewFlightSchedulesByConfigurationEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewFlightUpdateFeedEndpoint(dh *data.Handler, contentType string, ...) echo.HandlerFunc
- func NewQueryFlightSchedulesEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewSearchEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewSeatMapEndpoint(dh *data.Handler) echo.HandlerFunc
- func NewSitemapHandler(dh *data.Handler) echo.HandlerFunc
- type AuthorizationHandler
- func (ah *AuthorizationHandler) AuthInfo(c echo.Context) error
- func (ah *AuthorizationHandler) Code(c echo.Context) error
- func (ah *AuthorizationHandler) Login(c echo.Context) error
- func (ah *AuthorizationHandler) Logout(c echo.Context) error
- func (ah *AuthorizationHandler) Middleware(next echo.HandlerFunc) echo.HandlerFunc
- func (ah *AuthorizationHandler) Register(c echo.Context) error
- func (ah *AuthorizationHandler) Required(next echo.HandlerFunc) echo.HandlerFunc
- type ColumnIdentifier
- type RowRange
- type RowRanges
- type SeatMap
- type SeatMapCabin
- type SeatMapColumn
- type SeatMapDeck
- type SeatMapRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAircraftEndpoint ¶
func NewAirlinesEndpoint ¶
func NewAirportsEndpoint ¶
func NewConnectionsEndpoint ¶
func NewConnectionsEndpoint(ch *search.ConnectionsHandler, export string) echo.HandlerFunc
func NewConnectionsShareCreateEndpoint ¶
func NewConnectionsShareCreateEndpoint() echo.HandlerFunc
func NewConnectionsShareHTMLEndpoint ¶
func NewConnectionsShareHTMLEndpoint() echo.HandlerFunc
func NewFlightNumberEndpoint ¶
func NewSearchEndpoint ¶
func NewSeatMapEndpoint ¶
func NewSitemapHandler ¶
Types ¶
type AuthorizationHandler ¶
type AuthorizationHandler struct {
// contains filtered or unexported fields
}
func NewAuthorizationHandler ¶
func NewAuthorizationHandler(clientId, clientSecret string, repo *auth.Repo, conv *auth.SessionJwtConverter) (*AuthorizationHandler, error)
func (*AuthorizationHandler) AuthInfo ¶
func (ah *AuthorizationHandler) AuthInfo(c echo.Context) error
func (*AuthorizationHandler) Code ¶
func (ah *AuthorizationHandler) Code(c echo.Context) error
func (*AuthorizationHandler) Login ¶
func (ah *AuthorizationHandler) Login(c echo.Context) error
func (*AuthorizationHandler) Logout ¶
func (ah *AuthorizationHandler) Logout(c echo.Context) error
func (*AuthorizationHandler) Middleware ¶
func (ah *AuthorizationHandler) Middleware(next echo.HandlerFunc) echo.HandlerFunc
func (*AuthorizationHandler) Register ¶
func (ah *AuthorizationHandler) Register(c echo.Context) error
func (*AuthorizationHandler) Required ¶
func (ah *AuthorizationHandler) Required(next echo.HandlerFunc) echo.HandlerFunc
type ColumnIdentifier ¶
type SeatMap ¶
type SeatMap struct { CabinClasses common.Set[string] `json:"cabinClasses"` Decks []*SeatMapDeck `json:"decks"` }
type SeatMapCabin ¶
type SeatMapCabin struct { CabinClass string `json:"cabinClass"` SeatColumns []string `json:"seatColumns"` ComponentColumns []ColumnIdentifier `json:"componentColumns"` Aisle common.Set[int] `json:"aisle"` Rows []SeatMapRow `json:"rows"` }
type SeatMapColumn ¶
type SeatMapDeck ¶
type SeatMapDeck struct { WingPosition RowRanges `json:"wingPosition,omitempty"` ExitRowPosition RowRanges `json:"exitRowPosition,omitempty"` Cabins []SeatMapCabin `json:"cabins"` }
type SeatMapRow ¶
type SeatMapRow struct { Number int `json:"number"` Front [][]*SeatMapColumn `json:"front"` Seats []*SeatMapColumn `json:"seats"` Rear [][]*SeatMapColumn `json:"rear"` }
Click to show internal directories.
Click to hide internal directories.