Versions in this module Expand all Collapse all v0 v0.2.1 Jul 31, 2023 v0.2.0 Apr 6, 2023 Changes in this version + type BaseResponse struct + StatusCode int64 + StatusMsg string + func NewBaseResponse() *BaseResponse + func (p *BaseResponse) GetStatusCode() (v int64) + func (p *BaseResponse) GetStatusMsg() (v string) + func (p *BaseResponse) Read(iprot thrift.TProtocol) (err error) + func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error + func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error + func (p *BaseResponse) String() string + func (p *BaseResponse) Write(oprot thrift.TProtocol) (err error) + type Car struct + Driver *Driver + PlateNum string + Position *Position + Power float64 + Status CarStatus + TripID string + var CarEntity_Car_DEFAULT *Car + func NewCar() *Car + func (p *Car) GetDriver() (v *Driver) + func (p *Car) GetPlateNum() (v string) + func (p *Car) GetPosition() (v *Position) + func (p *Car) GetPower() (v float64) + func (p *Car) GetStatus() (v CarStatus) + func (p *Car) GetTripID() (v string) + func (p *Car) IsSetDriver() bool + func (p *Car) IsSetPosition() bool + func (p *Car) Read(iprot thrift.TProtocol) (err error) + func (p *Car) ReadField1(iprot thrift.TProtocol) error + func (p *Car) ReadField2(iprot thrift.TProtocol) error + func (p *Car) ReadField3(iprot thrift.TProtocol) error + func (p *Car) ReadField4(iprot thrift.TProtocol) error + func (p *Car) ReadField5(iprot thrift.TProtocol) error + func (p *Car) ReadField6(iprot thrift.TProtocol) error + func (p *Car) String() string + func (p *Car) Write(oprot thrift.TProtocol) (err error) + type CarEntity struct + Car *Car + ID string + func NewCarEntity() *CarEntity + func (p *CarEntity) GetCar() (v *Car) + func (p *CarEntity) GetID() (v string) + func (p *CarEntity) IsSetCar() bool + func (p *CarEntity) Read(iprot thrift.TProtocol) (err error) + func (p *CarEntity) ReadField1(iprot thrift.TProtocol) error + func (p *CarEntity) ReadField2(iprot thrift.TProtocol) error + func (p *CarEntity) String() string + func (p *CarEntity) Write(oprot thrift.TProtocol) (err error) + type CarStatus int64 + const CarStatus_CS_NOT_SPECIFIED + const CarStatus_LOCKED + const CarStatus_LOCKING + const CarStatus_UNLOCKED + const CarStatus_UNLOCKING + func CarStatusFromString(s string) (CarStatus, error) + func CarStatusPtr(v CarStatus) *CarStatus + func (p *CarStatus) Scan(value interface{}) (err error) + func (p *CarStatus) Value() (driver.Value, error) + func (p CarStatus) String() string + type Driver struct + AvatarURL string + ID int64 + var Car_Driver_DEFAULT *Driver + func NewDriver() *Driver + func (p *Driver) GetAvatarURL() (v string) + func (p *Driver) GetID() (v int64) + func (p *Driver) Read(iprot thrift.TProtocol) (err error) + func (p *Driver) ReadField1(iprot thrift.TProtocol) error + func (p *Driver) ReadField2(iprot thrift.TProtocol) error + func (p *Driver) String() string + func (p *Driver) Write(oprot thrift.TProtocol) (err error) + type Gender int64 + const Gender_FEMALE + const Gender_G_NOT_SPECIFIED + const Gender_MALE + func GenderFromString(s string) (Gender, error) + func GenderPtr(v Gender) *Gender + func (p *Gender) Scan(value interface{}) (err error) + func (p *Gender) Value() (driver.Value, error) + func (p Gender) String() string + type Identity struct + BirthDateMillis int64 + Gender Gender + LicNumber string + Name string + var Profile_Identity_DEFAULT *Identity + func NewIdentity() *Identity + func (p *Identity) GetBirthDateMillis() (v int64) + func (p *Identity) GetGender() (v Gender) + func (p *Identity) GetLicNumber() (v string) + func (p *Identity) GetName() (v string) + func (p *Identity) Read(iprot thrift.TProtocol) (err error) + func (p *Identity) ReadField1(iprot thrift.TProtocol) error + func (p *Identity) ReadField2(iprot thrift.TProtocol) error + func (p *Identity) ReadField3(iprot thrift.TProtocol) error + func (p *Identity) ReadField4(iprot thrift.TProtocol) error + func (p *Identity) String() string + func (p *Identity) Write(oprot thrift.TProtocol) (err error) + type IdentityStatus int64 + const IdentityStatus_AUDITFAILED + const IdentityStatus_PENDING + const IdentityStatus_UNSUBMITTED + const IdentityStatus_VERIFIED + func IdentityStatusFromString(s string) (IdentityStatus, error) + func IdentityStatusPtr(v IdentityStatus) *IdentityStatus + func (p *IdentityStatus) Scan(value interface{}) (err error) + func (p *IdentityStatus) Value() (driver.Value, error) + func (p IdentityStatus) String() string + type Location struct + Latitude float64 + Longitude float64 + var LocationStatus_Location_DEFAULT *Location + func NewLocation() *Location + func (p *Location) GetLatitude() (v float64) + func (p *Location) GetLongitude() (v float64) + func (p *Location) Read(iprot thrift.TProtocol) (err error) + func (p *Location) ReadField1(iprot thrift.TProtocol) error + func (p *Location) ReadField2(iprot thrift.TProtocol) error + func (p *Location) String() string + func (p *Location) Write(oprot thrift.TProtocol) (err error) + type LocationStatus struct + FeeCent int32 + KmDriven float64 + Location *Location + PoiName string + TimestampSec int64 + var Trip_Current_DEFAULT *LocationStatus + var Trip_End_DEFAULT *LocationStatus + var Trip_Start_DEFAULT *LocationStatus + func NewLocationStatus() *LocationStatus + func (p *LocationStatus) GetFeeCent() (v int32) + func (p *LocationStatus) GetKmDriven() (v float64) + func (p *LocationStatus) GetLocation() (v *Location) + func (p *LocationStatus) GetPoiName() (v string) + func (p *LocationStatus) GetTimestampSec() (v int64) + func (p *LocationStatus) IsSetLocation() bool + func (p *LocationStatus) Read(iprot thrift.TProtocol) (err error) + func (p *LocationStatus) ReadField1(iprot thrift.TProtocol) error + func (p *LocationStatus) ReadField2(iprot thrift.TProtocol) error + func (p *LocationStatus) ReadField3(iprot thrift.TProtocol) error + func (p *LocationStatus) ReadField4(iprot thrift.TProtocol) error + func (p *LocationStatus) ReadField5(iprot thrift.TProtocol) error + func (p *LocationStatus) String() string + func (p *LocationStatus) Write(oprot thrift.TProtocol) (err error) + type NilResponse struct + func NewNilResponse() *NilResponse + func (p *NilResponse) Read(iprot thrift.TProtocol) (err error) + func (p *NilResponse) String() string + func (p *NilResponse) Write(oprot thrift.TProtocol) (err error) + type Position struct + Latitude float64 + Longitude float64 + var Car_Position_DEFAULT *Position + func NewPosition() *Position + func (p *Position) GetLatitude() (v float64) + func (p *Position) GetLongitude() (v float64) + func (p *Position) Read(iprot thrift.TProtocol) (err error) + func (p *Position) ReadField1(iprot thrift.TProtocol) error + func (p *Position) ReadField2(iprot thrift.TProtocol) error + func (p *Position) String() string + func (p *Position) Write(oprot thrift.TProtocol) (err error) + type Profile struct + Identity *Identity + IdentityStatus IdentityStatus + var ProfileRecord_Profile_DEFAULT *Profile + func NewProfile() *Profile + func (p *Profile) GetIdentity() (v *Identity) + func (p *Profile) GetIdentityStatus() (v IdentityStatus) + func (p *Profile) IsSetIdentity() bool + func (p *Profile) Read(iprot thrift.TProtocol) (err error) + func (p *Profile) ReadField1(iprot thrift.TProtocol) error + func (p *Profile) ReadField2(iprot thrift.TProtocol) error + func (p *Profile) String() string + func (p *Profile) Write(oprot thrift.TProtocol) (err error) + type ProfileRecord struct + AccountID int64 + PhotoBlobID int64 + Profile *Profile + func NewProfileRecord() *ProfileRecord + func (p *ProfileRecord) GetAccountID() (v int64) + func (p *ProfileRecord) GetPhotoBlobID() (v int64) + func (p *ProfileRecord) GetProfile() (v *Profile) + func (p *ProfileRecord) IsSetProfile() bool + func (p *ProfileRecord) Read(iprot thrift.TProtocol) (err error) + func (p *ProfileRecord) ReadField1(iprot thrift.TProtocol) error + func (p *ProfileRecord) ReadField2(iprot thrift.TProtocol) error + func (p *ProfileRecord) ReadField3(iprot thrift.TProtocol) error + func (p *ProfileRecord) String() string + func (p *ProfileRecord) Write(oprot thrift.TProtocol) (err error) + type Trip struct + AccountID int64 + CarID string + Current *LocationStatus + End *LocationStatus + IdentityID string + Start *LocationStatus + Status TripStatus + var TripEntity_Trip_DEFAULT *Trip + func NewTrip() *Trip + func (p *Trip) GetAccountID() (v int64) + func (p *Trip) GetCarID() (v string) + func (p *Trip) GetCurrent() (v *LocationStatus) + func (p *Trip) GetEnd() (v *LocationStatus) + func (p *Trip) GetIdentityID() (v string) + func (p *Trip) GetStart() (v *LocationStatus) + func (p *Trip) GetStatus() (v TripStatus) + func (p *Trip) IsSetCurrent() bool + func (p *Trip) IsSetEnd() bool + func (p *Trip) IsSetStart() bool + func (p *Trip) Read(iprot thrift.TProtocol) (err error) + func (p *Trip) ReadField1(iprot thrift.TProtocol) error + func (p *Trip) ReadField2(iprot thrift.TProtocol) error + func (p *Trip) ReadField3(iprot thrift.TProtocol) error + func (p *Trip) ReadField4(iprot thrift.TProtocol) error + func (p *Trip) ReadField5(iprot thrift.TProtocol) error + func (p *Trip) ReadField6(iprot thrift.TProtocol) error + func (p *Trip) ReadField7(iprot thrift.TProtocol) error + func (p *Trip) String() string + func (p *Trip) Write(oprot thrift.TProtocol) (err error) + type TripEntity struct + ID string + Trip *Trip + func NewTripEntity() *TripEntity + func (p *TripEntity) GetID() (v string) + func (p *TripEntity) GetTrip() (v *Trip) + func (p *TripEntity) IsSetTrip() bool + func (p *TripEntity) Read(iprot thrift.TProtocol) (err error) + func (p *TripEntity) ReadField1(iprot thrift.TProtocol) error + func (p *TripEntity) ReadField2(iprot thrift.TProtocol) error + func (p *TripEntity) String() string + func (p *TripEntity) Write(oprot thrift.TProtocol) (err error) + type TripStatus int64 + const TripStatus_FINISHED + const TripStatus_IN_PROGRESS + const TripStatus_TS_NOT_SPECIFIED + func TripStatusFromString(s string) (TripStatus, error) + func TripStatusPtr(v TripStatus) *TripStatus + func (p *TripStatus) Scan(value interface{}) (err error) + func (p *TripStatus) Value() (driver.Value, error) + func (p TripStatus) String() string + type User struct + AccountID int64 + AvatarBlobID int64 + OpenID string + PhoneNumber int64 + Username string + func NewUser() *User + func (p *User) GetAccountID() (v int64) + func (p *User) GetAvatarBlobID() (v int64) + func (p *User) GetOpenID() (v string) + func (p *User) GetPhoneNumber() (v int64) + func (p *User) GetUsername() (v string) + func (p *User) Read(iprot thrift.TProtocol) (err error) + func (p *User) ReadField1(iprot thrift.TProtocol) error + func (p *User) ReadField2(iprot thrift.TProtocol) error + func (p *User) ReadField3(iprot thrift.TProtocol) error + func (p *User) ReadField4(iprot thrift.TProtocol) error + func (p *User) ReadField5(iprot thrift.TProtocol) error + func (p *User) String() string + func (p *User) Write(oprot thrift.TProtocol) (err error) + type UserInfo struct + AccountID int64 + AvatarURL string + PhoneNumber int64 + Username string + func NewUserInfo() *UserInfo + func (p *UserInfo) GetAccountID() (v int64) + func (p *UserInfo) GetAvatarURL() (v string) + func (p *UserInfo) GetPhoneNumber() (v int64) + func (p *UserInfo) GetUsername() (v string) + func (p *UserInfo) Read(iprot thrift.TProtocol) (err error) + func (p *UserInfo) ReadField1(iprot thrift.TProtocol) error + func (p *UserInfo) ReadField2(iprot thrift.TProtocol) error + func (p *UserInfo) ReadField3(iprot thrift.TProtocol) error + func (p *UserInfo) ReadField4(iprot thrift.TProtocol) error + func (p *UserInfo) String() string + func (p *UserInfo) Write(oprot thrift.TProtocol) (err error)