real_world

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 0 Imported by: 0

README

Variables

Name Type
AppVersion string
CleanMarker string
CountryCode string
CurrencyCode string
DestinationCountry string
Features UserAgentFeatures
GateID int
InitializedAt int
IsAffiliate bool
IsDesktop bool
IsMobile bool
IsOpenJaw bool
KnowEnglish bool
Locale string
Marker string
Market string
OriginCountry string
Os string
OsVersion string
Passengers Passengers
Random float
ReferrerHost string
SearchDepth int
SearchParamsEnv SearchParamsEnv
Segments array(RouteSegment)
TravelPayoutsAPI bool
TripClass string
UserAgentDevice string
UserAgentType string
UserIP string
false bool
true bool

Functions

Name Return type
all(array(any), func) bool
any(array(any), func) bool
count(array(any), func) int
filter(array(any), func) array(any)
len(array(any)) int
map(array(any), func) array(any)
none(array(any), func) bool
one(array(any), func) bool

Types

DirectFlightsDays

Field Type
Days string
Start string

Passengers

Field Type
Adults int
Children int
Infants int

RouteSegment

Field Type
Date string
Destination string
DestinationCountry string
DestinationName string
DirectFlightsDays DirectFlightsDays
Origin string
OriginCountry string
OriginName string
TranslatedDestination string
TranslatedOrigin string
UserDestination string
UserOrigin string

SearchParamsEnv

Field Type
AppVersion string
CleanMarker string
CountryCode string
CurrencyCode string
DestinationCountry string
Features UserAgentFeatures
GateID int
InitializedAt int
IsAffiliate bool
IsDesktop bool
IsMobile bool
IsOpenJaw bool
KnowEnglish bool
Locale string
Marker string
Market string
OriginCountry string
Os string
OsVersion string
Passengers Passengers
Random float
ReferrerHost string
SearchDepth int
Segments array(RouteSegment)
TravelPayoutsAPI bool
TripClass string
UserAgentDevice string
UserAgentType string
UserIP string

UserAgentFeatures

Field Type
Assisted bool
TopPlacement bool
TourTickets bool

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectFlightsDays

type DirectFlightsDays struct {
	Start string
	Days  string
}

type Env

type Env struct {
	SearchParamsEnv
}

func NewEnv

func NewEnv() Env

type Passengers

type Passengers struct {
	Adults   uint32
	Children uint32
	Infants  uint32
}

type RouteSegment

type RouteSegment struct {
	Origin                string
	OriginName            string
	Destination           string
	DestinationName       string
	Date                  string
	OriginCountry         string
	DestinationCountry    string
	TranslatedOrigin      string
	TranslatedDestination string
	UserOrigin            string
	UserDestination       string
	DirectFlightsDays     *DirectFlightsDays
}

type SearchParamsEnv

type SearchParamsEnv struct {
	Segments           []*RouteSegment
	OriginCountry      string
	DestinationCountry string
	SearchDepth        int
	Passengers         *Passengers
	TripClass          string
	UserIP             string
	KnowEnglish        bool
	Market             string
	Marker             string
	CleanMarker        string
	Locale             string
	ReferrerHost       string
	CountryCode        string
	CurrencyCode       string
	IsOpenJaw          bool
	Os                 string
	OsVersion          string
	AppVersion         string
	IsAffiliate        bool
	InitializedAt      int64
	Random             float32
	TravelPayoutsAPI   bool
	Features           *UserAgentFeatures
	GateID             int32
	UserAgentDevice    string
	UserAgentType      string
	IsDesktop          bool
	IsMobile           bool
}

type UserAgentFeatures

type UserAgentFeatures struct {
	Assisted     bool
	TopPlacement bool
	TourTickets  bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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