data

package
v0.0.0-...-91280e1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tflight

func Tflight() string

func Tfrontend

func Tfrontend() string

func Tgateway

func Tgateway() string

func Tgeo

func Tgeo() string

func Thotel

func Thotel() string

func Torder

func Torder() string

func Tprofile

func Tprofile() string

func Trate

func Trate() string

func Trecommendation

func Trecommendation() string

func Tsearch

func Tsearch() string

func Tuser

func Tuser() string

Types

type Address

type Address struct {
	StreetNumber string
	StreetName   string
	City         string
	State        string
	Country      string
	PostalCode   string
	Lat          float64
	Lon          float64
}

type Hotel

type Hotel struct {
	Id          string
	Name        string
	PhoneNumber string
	Description string
	Address     Address
}

type Number

type Number struct {
	HotelId string
	Num     int32
}

type Point

type Point struct {
	Pid  string  `mapstructure:"hotelId" json:"hotelId"`
	Plat float64 `mapstructure:"lat" json:"lat"`
	Plon float64 `mapstructure:"lon" json:"lon"`
}

func (Point) Id

func (p Point) Id() string

func (Point) Lat

func (p Point) Lat() float64

func (Point) Lon

func (p Point) Lon() float64

type RPCInput

type RPCInput struct {
	Function string
	Input    interface{}
}

type RatePlan

type RatePlan struct {
	HotelId  string
	Code     string
	Indate   string
	Outdate  string
	RoomType RoomType
}

type Recommend

type Recommend struct {
	HId    string
	HLat   float64
	HLon   float64
	HRate  float64
	HPrice float64
}

type Reservation

type Reservation struct {
	HotelId      string
	CustomerName string
	InDate       string
	OutDate      string
	Number       int
}

type RoomType

type RoomType struct {
	BookableRate       float64
	TotalRate          float64
	TotalRateInclusive float64
	Code               string
	RoomDescription    string
}

type User

type User struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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