Documentation ¶
Index ¶
- Variables
- type BaseResponse
- func (p *BaseResponse) BLength() int
- func (p *BaseResponse) DeepEqual(ano *BaseResponse) bool
- func (p *BaseResponse) FastRead(buf []byte) (int, error)
- func (p *BaseResponse) FastReadField1(buf []byte) (int, error)
- func (p *BaseResponse) FastReadField2(buf []byte) (int, error)
- func (p *BaseResponse) FastWrite(buf []byte) int
- func (p *BaseResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BaseResponse) Field1DeepEqual(src int64) bool
- func (p *BaseResponse) Field2DeepEqual(src string) bool
- func (p *BaseResponse) GetStatusCode() (v int64)
- func (p *BaseResponse) GetStatusMsg() (v string)
- func (p *BaseResponse) InitDefault()
- 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) SetStatusCode(val int64)
- func (p *BaseResponse) SetStatusMsg(val string)
- func (p *BaseResponse) String() string
- func (p *BaseResponse) Write(oprot thrift.TProtocol) (err error)
- type Car
- func (p *Car) BLength() int
- func (p *Car) DeepEqual(ano *Car) bool
- func (p *Car) FastRead(buf []byte) (int, error)
- func (p *Car) FastReadField1(buf []byte) (int, error)
- func (p *Car) FastReadField2(buf []byte) (int, error)
- func (p *Car) FastReadField3(buf []byte) (int, error)
- func (p *Car) FastReadField4(buf []byte) (int, error)
- func (p *Car) FastReadField5(buf []byte) (int, error)
- func (p *Car) FastReadField6(buf []byte) (int, error)
- func (p *Car) FastWrite(buf []byte) int
- func (p *Car) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Car) Field1DeepEqual(src CarStatus) bool
- func (p *Car) Field2DeepEqual(src *Driver) bool
- func (p *Car) Field3DeepEqual(src *Position) bool
- func (p *Car) Field4DeepEqual(src string) bool
- func (p *Car) Field5DeepEqual(src float64) bool
- func (p *Car) Field6DeepEqual(src string) bool
- 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) InitDefault()
- 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) SetDriver(val *Driver)
- func (p *Car) SetPlateNum(val string)
- func (p *Car) SetPosition(val *Position)
- func (p *Car) SetPower(val float64)
- func (p *Car) SetStatus(val CarStatus)
- func (p *Car) SetTripId(val string)
- func (p *Car) String() string
- func (p *Car) Write(oprot thrift.TProtocol) (err error)
- type CarEntity
- func (p *CarEntity) BLength() int
- func (p *CarEntity) DeepEqual(ano *CarEntity) bool
- func (p *CarEntity) FastRead(buf []byte) (int, error)
- func (p *CarEntity) FastReadField1(buf []byte) (int, error)
- func (p *CarEntity) FastReadField2(buf []byte) (int, error)
- func (p *CarEntity) FastWrite(buf []byte) int
- func (p *CarEntity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarEntity) Field1DeepEqual(src string) bool
- func (p *CarEntity) Field2DeepEqual(src *Car) bool
- func (p *CarEntity) GetCar() (v *Car)
- func (p *CarEntity) GetId() (v string)
- func (p *CarEntity) InitDefault()
- 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) SetCar(val *Car)
- func (p *CarEntity) SetId(val string)
- func (p *CarEntity) String() string
- func (p *CarEntity) Write(oprot thrift.TProtocol) (err error)
- type CarStatus
- type Driver
- func (p *Driver) BLength() int
- func (p *Driver) DeepEqual(ano *Driver) bool
- func (p *Driver) FastRead(buf []byte) (int, error)
- func (p *Driver) FastReadField1(buf []byte) (int, error)
- func (p *Driver) FastReadField2(buf []byte) (int, error)
- func (p *Driver) FastWrite(buf []byte) int
- func (p *Driver) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Driver) Field1DeepEqual(src string) bool
- func (p *Driver) Field2DeepEqual(src string) bool
- func (p *Driver) GetAvatarUrl() (v string)
- func (p *Driver) GetId() (v string)
- func (p *Driver) InitDefault()
- 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) SetAvatarUrl(val string)
- func (p *Driver) SetId(val string)
- func (p *Driver) String() string
- func (p *Driver) Write(oprot thrift.TProtocol) (err error)
- type Gender
- type Identity
- func (p *Identity) BLength() int
- func (p *Identity) DeepEqual(ano *Identity) bool
- func (p *Identity) FastRead(buf []byte) (int, error)
- func (p *Identity) FastReadField1(buf []byte) (int, error)
- func (p *Identity) FastReadField2(buf []byte) (int, error)
- func (p *Identity) FastReadField3(buf []byte) (int, error)
- func (p *Identity) FastReadField4(buf []byte) (int, error)
- func (p *Identity) FastWrite(buf []byte) int
- func (p *Identity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Identity) Field1DeepEqual(src string) bool
- func (p *Identity) Field2DeepEqual(src string) bool
- func (p *Identity) Field3DeepEqual(src Gender) bool
- func (p *Identity) Field4DeepEqual(src int64) bool
- 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) InitDefault()
- 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) SetBirthDateMillis(val int64)
- func (p *Identity) SetGender(val Gender)
- func (p *Identity) SetLicNumber(val string)
- func (p *Identity) SetName(val string)
- func (p *Identity) String() string
- func (p *Identity) Write(oprot thrift.TProtocol) (err error)
- type IdentityStatus
- type Location
- func (p *Location) BLength() int
- func (p *Location) DeepEqual(ano *Location) bool
- func (p *Location) FastRead(buf []byte) (int, error)
- func (p *Location) FastReadField1(buf []byte) (int, error)
- func (p *Location) FastReadField2(buf []byte) (int, error)
- func (p *Location) FastWrite(buf []byte) int
- func (p *Location) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Location) Field1DeepEqual(src float64) bool
- func (p *Location) Field2DeepEqual(src float64) bool
- func (p *Location) GetLatitude() (v float64)
- func (p *Location) GetLongitude() (v float64)
- func (p *Location) InitDefault()
- 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) SetLatitude(val float64)
- func (p *Location) SetLongitude(val float64)
- func (p *Location) String() string
- func (p *Location) Write(oprot thrift.TProtocol) (err error)
- type LocationStatus
- func (p *LocationStatus) BLength() int
- func (p *LocationStatus) DeepEqual(ano *LocationStatus) bool
- func (p *LocationStatus) FastRead(buf []byte) (int, error)
- func (p *LocationStatus) FastReadField1(buf []byte) (int, error)
- func (p *LocationStatus) FastReadField2(buf []byte) (int, error)
- func (p *LocationStatus) FastReadField3(buf []byte) (int, error)
- func (p *LocationStatus) FastReadField4(buf []byte) (int, error)
- func (p *LocationStatus) FastReadField5(buf []byte) (int, error)
- func (p *LocationStatus) FastWrite(buf []byte) int
- func (p *LocationStatus) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LocationStatus) Field1DeepEqual(src *Location) bool
- func (p *LocationStatus) Field2DeepEqual(src int32) bool
- func (p *LocationStatus) Field3DeepEqual(src float64) bool
- func (p *LocationStatus) Field4DeepEqual(src string) bool
- func (p *LocationStatus) Field5DeepEqual(src int64) bool
- 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) InitDefault()
- 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) SetFeeCent(val int32)
- func (p *LocationStatus) SetKmDriven(val float64)
- func (p *LocationStatus) SetLocation(val *Location)
- func (p *LocationStatus) SetPoiName(val string)
- func (p *LocationStatus) SetTimestampSec(val int64)
- func (p *LocationStatus) String() string
- func (p *LocationStatus) Write(oprot thrift.TProtocol) (err error)
- type NilResponse
- func (p *NilResponse) BLength() int
- func (p *NilResponse) DeepEqual(ano *NilResponse) bool
- func (p *NilResponse) FastRead(buf []byte) (int, error)
- func (p *NilResponse) FastWrite(buf []byte) int
- func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NilResponse) InitDefault()
- 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
- func (p *Position) BLength() int
- func (p *Position) DeepEqual(ano *Position) bool
- func (p *Position) FastRead(buf []byte) (int, error)
- func (p *Position) FastReadField1(buf []byte) (int, error)
- func (p *Position) FastReadField2(buf []byte) (int, error)
- func (p *Position) FastWrite(buf []byte) int
- func (p *Position) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Position) Field1DeepEqual(src float64) bool
- func (p *Position) Field2DeepEqual(src float64) bool
- func (p *Position) GetLatitude() (v float64)
- func (p *Position) GetLongitude() (v float64)
- func (p *Position) InitDefault()
- 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) SetLatitude(val float64)
- func (p *Position) SetLongitude(val float64)
- func (p *Position) String() string
- func (p *Position) Write(oprot thrift.TProtocol) (err error)
- type Profile
- func (p *Profile) BLength() int
- func (p *Profile) DeepEqual(ano *Profile) bool
- func (p *Profile) FastRead(buf []byte) (int, error)
- func (p *Profile) FastReadField1(buf []byte) (int, error)
- func (p *Profile) FastReadField2(buf []byte) (int, error)
- func (p *Profile) FastWrite(buf []byte) int
- func (p *Profile) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Profile) Field1DeepEqual(src *Identity) bool
- func (p *Profile) Field2DeepEqual(src IdentityStatus) bool
- func (p *Profile) GetIdentity() (v *Identity)
- func (p *Profile) GetIdentityStatus() (v IdentityStatus)
- func (p *Profile) InitDefault()
- 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) SetIdentity(val *Identity)
- func (p *Profile) SetIdentityStatus(val IdentityStatus)
- func (p *Profile) String() string
- func (p *Profile) Write(oprot thrift.TProtocol) (err error)
- type ProfileRecord
- func (p *ProfileRecord) BLength() int
- func (p *ProfileRecord) DeepEqual(ano *ProfileRecord) bool
- func (p *ProfileRecord) FastRead(buf []byte) (int, error)
- func (p *ProfileRecord) FastReadField1(buf []byte) (int, error)
- func (p *ProfileRecord) FastReadField2(buf []byte) (int, error)
- func (p *ProfileRecord) FastReadField3(buf []byte) (int, error)
- func (p *ProfileRecord) FastWrite(buf []byte) int
- func (p *ProfileRecord) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *ProfileRecord) Field1DeepEqual(src string) bool
- func (p *ProfileRecord) Field2DeepEqual(src string) bool
- func (p *ProfileRecord) Field3DeepEqual(src *Profile) bool
- func (p *ProfileRecord) GetAccountId() (v string)
- func (p *ProfileRecord) GetPhotoBlobId() (v string)
- func (p *ProfileRecord) GetProfile() (v *Profile)
- func (p *ProfileRecord) InitDefault()
- 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) SetAccountId(val string)
- func (p *ProfileRecord) SetPhotoBlobId(val string)
- func (p *ProfileRecord) SetProfile(val *Profile)
- func (p *ProfileRecord) String() string
- func (p *ProfileRecord) Write(oprot thrift.TProtocol) (err error)
- type Trip
- func (p *Trip) BLength() int
- func (p *Trip) DeepEqual(ano *Trip) bool
- func (p *Trip) FastRead(buf []byte) (int, error)
- func (p *Trip) FastReadField1(buf []byte) (int, error)
- func (p *Trip) FastReadField2(buf []byte) (int, error)
- func (p *Trip) FastReadField3(buf []byte) (int, error)
- func (p *Trip) FastReadField4(buf []byte) (int, error)
- func (p *Trip) FastReadField5(buf []byte) (int, error)
- func (p *Trip) FastReadField6(buf []byte) (int, error)
- func (p *Trip) FastReadField7(buf []byte) (int, error)
- func (p *Trip) FastWrite(buf []byte) int
- func (p *Trip) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Trip) Field1DeepEqual(src string) bool
- func (p *Trip) Field2DeepEqual(src string) bool
- func (p *Trip) Field3DeepEqual(src *LocationStatus) bool
- func (p *Trip) Field4DeepEqual(src *LocationStatus) bool
- func (p *Trip) Field5DeepEqual(src *LocationStatus) bool
- func (p *Trip) Field6DeepEqual(src TripStatus) bool
- func (p *Trip) Field7DeepEqual(src string) bool
- func (p *Trip) GetAccountId() (v string)
- 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) InitDefault()
- 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) SetAccountId(val string)
- func (p *Trip) SetCarId(val string)
- func (p *Trip) SetCurrent(val *LocationStatus)
- func (p *Trip) SetEnd(val *LocationStatus)
- func (p *Trip) SetIdentityId(val string)
- func (p *Trip) SetStart(val *LocationStatus)
- func (p *Trip) SetStatus(val TripStatus)
- func (p *Trip) String() string
- func (p *Trip) Write(oprot thrift.TProtocol) (err error)
- type TripEntity
- func (p *TripEntity) BLength() int
- func (p *TripEntity) DeepEqual(ano *TripEntity) bool
- func (p *TripEntity) FastRead(buf []byte) (int, error)
- func (p *TripEntity) FastReadField1(buf []byte) (int, error)
- func (p *TripEntity) FastReadField2(buf []byte) (int, error)
- func (p *TripEntity) FastWrite(buf []byte) int
- func (p *TripEntity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripEntity) Field1DeepEqual(src string) bool
- func (p *TripEntity) Field2DeepEqual(src *Trip) bool
- func (p *TripEntity) GetId() (v string)
- func (p *TripEntity) GetTrip() (v *Trip)
- func (p *TripEntity) InitDefault()
- 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) SetId(val string)
- func (p *TripEntity) SetTrip(val *Trip)
- func (p *TripEntity) String() string
- func (p *TripEntity) Write(oprot thrift.TProtocol) (err error)
- type TripStatus
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field1DeepEqual(src string) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src string) bool
- func (p *User) Field4DeepEqual(src string) bool
- func (p *User) Field5DeepEqual(src string) bool
- func (p *User) Field6DeepEqual(src int32) bool
- func (p *User) GetAccountId() (v string)
- func (p *User) GetAvatarBlobId() (v string)
- func (p *User) GetBalance() (v int32)
- func (p *User) GetOpenId() (v string)
- func (p *User) GetPhoneNumber() (v string)
- func (p *User) GetUsername() (v string)
- func (p *User) InitDefault()
- 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) ReadField6(iprot thrift.TProtocol) error
- func (p *User) SetAccountId(val string)
- func (p *User) SetAvatarBlobId(val string)
- func (p *User) SetBalance(val int32)
- func (p *User) SetOpenId(val string)
- func (p *User) SetPhoneNumber(val string)
- func (p *User) SetUsername(val string)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserInfo
- func (p *UserInfo) BLength() int
- func (p *UserInfo) DeepEqual(ano *UserInfo) bool
- func (p *UserInfo) FastRead(buf []byte) (int, error)
- func (p *UserInfo) FastReadField1(buf []byte) (int, error)
- func (p *UserInfo) FastReadField2(buf []byte) (int, error)
- func (p *UserInfo) FastReadField3(buf []byte) (int, error)
- func (p *UserInfo) FastReadField4(buf []byte) (int, error)
- func (p *UserInfo) FastReadField5(buf []byte) (int, error)
- func (p *UserInfo) FastWrite(buf []byte) int
- func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserInfo) Field1DeepEqual(src string) bool
- func (p *UserInfo) Field2DeepEqual(src string) bool
- func (p *UserInfo) Field3DeepEqual(src string) bool
- func (p *UserInfo) Field4DeepEqual(src string) bool
- func (p *UserInfo) Field5DeepEqual(src int32) bool
- func (p *UserInfo) GetAccountId() (v string)
- func (p *UserInfo) GetAvatarUrl() (v string)
- func (p *UserInfo) GetBalance() (v int32)
- func (p *UserInfo) GetPhoneNumber() (v string)
- func (p *UserInfo) GetUsername() (v string)
- func (p *UserInfo) InitDefault()
- 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) ReadField5(iprot thrift.TProtocol) error
- func (p *UserInfo) SetAccountId(val string)
- func (p *UserInfo) SetAvatarUrl(val string)
- func (p *UserInfo) SetBalance(val int32)
- func (p *UserInfo) SetPhoneNumber(val string)
- func (p *UserInfo) SetUsername(val string)
- func (p *UserInfo) String() string
- func (p *UserInfo) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` }
func NewBaseResponse ¶
func NewBaseResponse() *BaseResponse
func (*BaseResponse) BLength ¶
func (p *BaseResponse) BLength() int
func (*BaseResponse) DeepEqual ¶
func (p *BaseResponse) DeepEqual(ano *BaseResponse) bool
func (*BaseResponse) FastReadField1 ¶
func (p *BaseResponse) FastReadField1(buf []byte) (int, error)
func (*BaseResponse) FastReadField2 ¶
func (p *BaseResponse) FastReadField2(buf []byte) (int, error)
func (*BaseResponse) FastWriteNocopy ¶
func (p *BaseResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BaseResponse) Field1DeepEqual ¶
func (p *BaseResponse) Field1DeepEqual(src int64) bool
func (*BaseResponse) Field2DeepEqual ¶
func (p *BaseResponse) Field2DeepEqual(src string) bool
func (*BaseResponse) GetStatusCode ¶
func (p *BaseResponse) GetStatusCode() (v int64)
func (*BaseResponse) GetStatusMsg ¶
func (p *BaseResponse) GetStatusMsg() (v string)
func (*BaseResponse) InitDefault ¶
func (p *BaseResponse) InitDefault()
func (*BaseResponse) ReadField1 ¶
func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
func (*BaseResponse) ReadField2 ¶
func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
func (*BaseResponse) SetStatusCode ¶
func (p *BaseResponse) SetStatusCode(val int64)
func (*BaseResponse) SetStatusMsg ¶
func (p *BaseResponse) SetStatusMsg(val string)
func (*BaseResponse) String ¶
func (p *BaseResponse) String() string
type Car ¶
type Car struct { Status CarStatus `thrift:"status,1" frugal:"1,default,CarStatus" json:"status"` Driver *Driver `thrift:"driver,2" frugal:"2,default,Driver" json:"driver"` Position *Position `thrift:"position,3" frugal:"3,default,Position" json:"position"` TripId string `thrift:"trip_id,4" frugal:"4,default,string" json:"trip_id"` Power float64 `thrift:"power,5" frugal:"5,default,double" json:"power"` PlateNum string `thrift:"plate_num,6" frugal:"6,default,string" json:"plate_num"` }
var CarEntity_Car_DEFAULT *Car
func (*Car) FastWriteNocopy ¶
func (p *Car) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Car) Field1DeepEqual ¶
func (*Car) Field2DeepEqual ¶
func (*Car) Field3DeepEqual ¶
func (*Car) Field4DeepEqual ¶
func (*Car) Field5DeepEqual ¶
func (*Car) Field6DeepEqual ¶
func (*Car) GetPlateNum ¶
func (*Car) GetPosition ¶
func (*Car) InitDefault ¶
func (p *Car) InitDefault()
func (*Car) IsSetDriver ¶
func (*Car) IsSetPosition ¶
func (*Car) SetPlateNum ¶
func (*Car) SetPosition ¶
type CarEntity ¶
type CarEntity struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` Car *Car `thrift:"car,2" frugal:"2,default,Car" json:"car"` }
func NewCarEntity ¶
func NewCarEntity() *CarEntity
func (*CarEntity) FastWriteNocopy ¶
func (p *CarEntity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarEntity) Field1DeepEqual ¶
func (*CarEntity) Field2DeepEqual ¶
func (*CarEntity) InitDefault ¶
func (p *CarEntity) InitDefault()
type Driver ¶
type Driver struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` AvatarUrl string `thrift:"avatar_url,2" frugal:"2,default,string" json:"avatar_url"` }
var Car_Driver_DEFAULT *Driver
func (*Driver) FastWriteNocopy ¶
func (p *Driver) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Driver) Field1DeepEqual ¶
func (*Driver) Field2DeepEqual ¶
func (*Driver) GetAvatarUrl ¶
func (*Driver) InitDefault ¶
func (p *Driver) InitDefault()
func (*Driver) SetAvatarUrl ¶
type Identity ¶
type Identity struct { LicNumber string `thrift:"lic_number,1" frugal:"1,default,string" json:"lic_number"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` Gender Gender `thrift:"gender,3" frugal:"3,default,Gender" json:"gender"` BirthDateMillis int64 `thrift:"birth_date_millis,4" frugal:"4,default,i64" json:"birth_date_millis"` }
var Profile_Identity_DEFAULT *Identity
func NewIdentity ¶
func NewIdentity() *Identity
func (*Identity) FastWriteNocopy ¶
func (p *Identity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Identity) Field1DeepEqual ¶
func (*Identity) Field2DeepEqual ¶
func (*Identity) Field3DeepEqual ¶
func (*Identity) Field4DeepEqual ¶
func (*Identity) GetBirthDateMillis ¶
func (*Identity) GetLicNumber ¶
func (*Identity) InitDefault ¶
func (p *Identity) InitDefault()
func (*Identity) SetBirthDateMillis ¶
func (*Identity) SetLicNumber ¶
type IdentityStatus ¶
type IdentityStatus int64
const ( IdentityStatus_UNSUBMITTED IdentityStatus = 0 IdentityStatus_PENDING IdentityStatus = 1 IdentityStatus_VERIFIED IdentityStatus = 2 IdentityStatus_AUDITFAILED IdentityStatus = 3 )
func IdentityStatusFromString ¶
func IdentityStatusFromString(s string) (IdentityStatus, error)
func IdentityStatusPtr ¶
func IdentityStatusPtr(v IdentityStatus) *IdentityStatus
func (*IdentityStatus) Scan ¶
func (p *IdentityStatus) Scan(value interface{}) (err error)
func (IdentityStatus) String ¶
func (p IdentityStatus) String() string
type Location ¶
type Location struct { Latitude float64 `thrift:"latitude,1" frugal:"1,default,double" json:"latitude"` Longitude float64 `thrift:"longitude,2" frugal:"2,default,double" json:"longitude"` }
var LocationStatus_Location_DEFAULT *Location
func NewLocation ¶
func NewLocation() *Location
func (*Location) FastWriteNocopy ¶
func (p *Location) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Location) Field1DeepEqual ¶
func (*Location) Field2DeepEqual ¶
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) InitDefault ¶
func (p *Location) InitDefault()
func (*Location) SetLatitude ¶
func (*Location) SetLongitude ¶
type LocationStatus ¶
type LocationStatus struct { Location *Location `thrift:"location,1" frugal:"1,default,Location" json:"location"` FeeCent int32 `thrift:"fee_cent,2" frugal:"2,default,i32" json:"fee_cent"` KmDriven float64 `thrift:"km_driven,3" frugal:"3,default,double" json:"km_driven"` PoiName string `thrift:"poi_name,4" frugal:"4,default,string" json:"poi_name"` TimestampSec int64 `thrift:"timestamp_sec,5" frugal:"5,default,i64" json:"timestamp_sec"` }
var Trip_Current_DEFAULT *LocationStatus
var Trip_End_DEFAULT *LocationStatus
var Trip_Start_DEFAULT *LocationStatus
func NewLocationStatus ¶
func NewLocationStatus() *LocationStatus
func (*LocationStatus) BLength ¶
func (p *LocationStatus) BLength() int
func (*LocationStatus) DeepEqual ¶
func (p *LocationStatus) DeepEqual(ano *LocationStatus) bool
func (*LocationStatus) FastReadField1 ¶
func (p *LocationStatus) FastReadField1(buf []byte) (int, error)
func (*LocationStatus) FastReadField2 ¶
func (p *LocationStatus) FastReadField2(buf []byte) (int, error)
func (*LocationStatus) FastReadField3 ¶
func (p *LocationStatus) FastReadField3(buf []byte) (int, error)
func (*LocationStatus) FastReadField4 ¶
func (p *LocationStatus) FastReadField4(buf []byte) (int, error)
func (*LocationStatus) FastReadField5 ¶
func (p *LocationStatus) FastReadField5(buf []byte) (int, error)
func (*LocationStatus) FastWrite ¶
func (p *LocationStatus) FastWrite(buf []byte) int
for compatibility
func (*LocationStatus) FastWriteNocopy ¶
func (p *LocationStatus) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LocationStatus) Field1DeepEqual ¶
func (p *LocationStatus) Field1DeepEqual(src *Location) bool
func (*LocationStatus) Field2DeepEqual ¶
func (p *LocationStatus) Field2DeepEqual(src int32) bool
func (*LocationStatus) Field3DeepEqual ¶
func (p *LocationStatus) Field3DeepEqual(src float64) bool
func (*LocationStatus) Field4DeepEqual ¶
func (p *LocationStatus) Field4DeepEqual(src string) bool
func (*LocationStatus) Field5DeepEqual ¶
func (p *LocationStatus) Field5DeepEqual(src int64) bool
func (*LocationStatus) GetFeeCent ¶
func (p *LocationStatus) GetFeeCent() (v int32)
func (*LocationStatus) GetKmDriven ¶
func (p *LocationStatus) GetKmDriven() (v float64)
func (*LocationStatus) GetLocation ¶
func (p *LocationStatus) GetLocation() (v *Location)
func (*LocationStatus) GetPoiName ¶
func (p *LocationStatus) GetPoiName() (v string)
func (*LocationStatus) GetTimestampSec ¶
func (p *LocationStatus) GetTimestampSec() (v int64)
func (*LocationStatus) InitDefault ¶
func (p *LocationStatus) InitDefault()
func (*LocationStatus) IsSetLocation ¶
func (p *LocationStatus) IsSetLocation() bool
func (*LocationStatus) ReadField1 ¶
func (p *LocationStatus) ReadField1(iprot thrift.TProtocol) error
func (*LocationStatus) ReadField2 ¶
func (p *LocationStatus) ReadField2(iprot thrift.TProtocol) error
func (*LocationStatus) ReadField3 ¶
func (p *LocationStatus) ReadField3(iprot thrift.TProtocol) error
func (*LocationStatus) ReadField4 ¶
func (p *LocationStatus) ReadField4(iprot thrift.TProtocol) error
func (*LocationStatus) ReadField5 ¶
func (p *LocationStatus) ReadField5(iprot thrift.TProtocol) error
func (*LocationStatus) SetFeeCent ¶
func (p *LocationStatus) SetFeeCent(val int32)
func (*LocationStatus) SetKmDriven ¶
func (p *LocationStatus) SetKmDriven(val float64)
func (*LocationStatus) SetLocation ¶
func (p *LocationStatus) SetLocation(val *Location)
func (*LocationStatus) SetPoiName ¶
func (p *LocationStatus) SetPoiName(val string)
func (*LocationStatus) SetTimestampSec ¶
func (p *LocationStatus) SetTimestampSec(val int64)
func (*LocationStatus) String ¶
func (p *LocationStatus) String() string
type NilResponse ¶ added in v0.2.1
type NilResponse struct { }
func NewNilResponse ¶ added in v0.2.1
func NewNilResponse() *NilResponse
func (*NilResponse) BLength ¶ added in v0.2.1
func (p *NilResponse) BLength() int
func (*NilResponse) DeepEqual ¶ added in v0.2.1
func (p *NilResponse) DeepEqual(ano *NilResponse) bool
func (*NilResponse) FastRead ¶ added in v0.2.1
func (p *NilResponse) FastRead(buf []byte) (int, error)
func (*NilResponse) FastWrite ¶ added in v0.2.1
func (p *NilResponse) FastWrite(buf []byte) int
for compatibility
func (*NilResponse) FastWriteNocopy ¶ added in v0.2.1
func (p *NilResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*NilResponse) InitDefault ¶ added in v0.2.1
func (p *NilResponse) InitDefault()
func (*NilResponse) Read ¶ added in v0.2.1
func (p *NilResponse) Read(iprot thrift.TProtocol) (err error)
func (*NilResponse) String ¶ added in v0.2.1
func (p *NilResponse) String() string
type Position ¶
type Position struct { Latitude float64 `thrift:"latitude,1" frugal:"1,default,double" json:"latitude"` Longitude float64 `thrift:"longitude,2" frugal:"2,default,double" json:"longitude"` }
var Car_Position_DEFAULT *Position
func NewPosition ¶
func NewPosition() *Position
func (*Position) FastWriteNocopy ¶
func (p *Position) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Position) Field1DeepEqual ¶
func (*Position) Field2DeepEqual ¶
func (*Position) GetLatitude ¶
func (*Position) GetLongitude ¶
func (*Position) InitDefault ¶
func (p *Position) InitDefault()
func (*Position) SetLatitude ¶
func (*Position) SetLongitude ¶
type Profile ¶
type Profile struct { Identity *Identity `thrift:"identity,1" frugal:"1,default,Identity" json:"identity"` IdentityStatus IdentityStatus `thrift:"identity_status,2" frugal:"2,default,IdentityStatus" json:"identity_status"` }
var ProfileRecord_Profile_DEFAULT *Profile
func NewProfile ¶
func NewProfile() *Profile
func (*Profile) FastWriteNocopy ¶
func (p *Profile) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Profile) Field1DeepEqual ¶
func (*Profile) Field2DeepEqual ¶
func (p *Profile) Field2DeepEqual(src IdentityStatus) bool
func (*Profile) GetIdentity ¶
func (*Profile) GetIdentityStatus ¶
func (p *Profile) GetIdentityStatus() (v IdentityStatus)
func (*Profile) InitDefault ¶
func (p *Profile) InitDefault()
func (*Profile) IsSetIdentity ¶
func (*Profile) SetIdentity ¶
func (*Profile) SetIdentityStatus ¶
func (p *Profile) SetIdentityStatus(val IdentityStatus)
type ProfileRecord ¶
type ProfileRecord struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` PhotoBlobId string `thrift:"photo_blob_id,2" frugal:"2,default,string" json:"photo_blob_id"` Profile *Profile `thrift:"profile,3" frugal:"3,default,Profile" json:"profile"` }
func NewProfileRecord ¶
func NewProfileRecord() *ProfileRecord
func (*ProfileRecord) BLength ¶
func (p *ProfileRecord) BLength() int
func (*ProfileRecord) DeepEqual ¶
func (p *ProfileRecord) DeepEqual(ano *ProfileRecord) bool
func (*ProfileRecord) FastReadField1 ¶
func (p *ProfileRecord) FastReadField1(buf []byte) (int, error)
func (*ProfileRecord) FastReadField2 ¶
func (p *ProfileRecord) FastReadField2(buf []byte) (int, error)
func (*ProfileRecord) FastReadField3 ¶
func (p *ProfileRecord) FastReadField3(buf []byte) (int, error)
func (*ProfileRecord) FastWrite ¶
func (p *ProfileRecord) FastWrite(buf []byte) int
for compatibility
func (*ProfileRecord) FastWriteNocopy ¶
func (p *ProfileRecord) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*ProfileRecord) Field1DeepEqual ¶
func (p *ProfileRecord) Field1DeepEqual(src string) bool
func (*ProfileRecord) Field2DeepEqual ¶
func (p *ProfileRecord) Field2DeepEqual(src string) bool
func (*ProfileRecord) Field3DeepEqual ¶
func (p *ProfileRecord) Field3DeepEqual(src *Profile) bool
func (*ProfileRecord) GetAccountId ¶
func (p *ProfileRecord) GetAccountId() (v string)
func (*ProfileRecord) GetPhotoBlobId ¶
func (p *ProfileRecord) GetPhotoBlobId() (v string)
func (*ProfileRecord) GetProfile ¶
func (p *ProfileRecord) GetProfile() (v *Profile)
func (*ProfileRecord) InitDefault ¶
func (p *ProfileRecord) InitDefault()
func (*ProfileRecord) IsSetProfile ¶
func (p *ProfileRecord) IsSetProfile() bool
func (*ProfileRecord) ReadField1 ¶
func (p *ProfileRecord) ReadField1(iprot thrift.TProtocol) error
func (*ProfileRecord) ReadField2 ¶
func (p *ProfileRecord) ReadField2(iprot thrift.TProtocol) error
func (*ProfileRecord) ReadField3 ¶
func (p *ProfileRecord) ReadField3(iprot thrift.TProtocol) error
func (*ProfileRecord) SetAccountId ¶
func (p *ProfileRecord) SetAccountId(val string)
func (*ProfileRecord) SetPhotoBlobId ¶
func (p *ProfileRecord) SetPhotoBlobId(val string)
func (*ProfileRecord) SetProfile ¶
func (p *ProfileRecord) SetProfile(val *Profile)
func (*ProfileRecord) String ¶
func (p *ProfileRecord) String() string
type Trip ¶
type Trip struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` CarId string `thrift:"car_id,2" frugal:"2,default,string" json:"car_id"` Start *LocationStatus `thrift:"start,3" frugal:"3,default,LocationStatus" json:"start"` Current *LocationStatus `thrift:"current,4" frugal:"4,default,LocationStatus" json:"current"` End *LocationStatus `thrift:"end,5" frugal:"5,default,LocationStatus" json:"end"` Status TripStatus `thrift:"status,6" frugal:"6,default,TripStatus" json:"status"` IdentityId string `thrift:"identity_id,7" frugal:"7,default,string" json:"identity_id"` }
var TripEntity_Trip_DEFAULT *Trip
func (*Trip) FastWriteNocopy ¶
func (p *Trip) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Trip) Field1DeepEqual ¶
func (*Trip) Field2DeepEqual ¶
func (*Trip) Field3DeepEqual ¶
func (p *Trip) Field3DeepEqual(src *LocationStatus) bool
func (*Trip) Field4DeepEqual ¶
func (p *Trip) Field4DeepEqual(src *LocationStatus) bool
func (*Trip) Field5DeepEqual ¶
func (p *Trip) Field5DeepEqual(src *LocationStatus) bool
func (*Trip) Field6DeepEqual ¶
func (p *Trip) Field6DeepEqual(src TripStatus) bool
func (*Trip) Field7DeepEqual ¶
func (*Trip) GetAccountId ¶
func (*Trip) GetCurrent ¶
func (p *Trip) GetCurrent() (v *LocationStatus)
func (*Trip) GetEnd ¶
func (p *Trip) GetEnd() (v *LocationStatus)
func (*Trip) GetIdentityId ¶
func (*Trip) GetStart ¶
func (p *Trip) GetStart() (v *LocationStatus)
func (*Trip) GetStatus ¶
func (p *Trip) GetStatus() (v TripStatus)
func (*Trip) InitDefault ¶
func (p *Trip) InitDefault()
func (*Trip) IsSetCurrent ¶
func (*Trip) IsSetStart ¶
func (*Trip) SetAccountId ¶
func (*Trip) SetCurrent ¶
func (p *Trip) SetCurrent(val *LocationStatus)
func (*Trip) SetEnd ¶
func (p *Trip) SetEnd(val *LocationStatus)
func (*Trip) SetIdentityId ¶
func (*Trip) SetStart ¶
func (p *Trip) SetStart(val *LocationStatus)
func (*Trip) SetStatus ¶
func (p *Trip) SetStatus(val TripStatus)
type TripEntity ¶
type TripEntity struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` Trip *Trip `thrift:"trip,2" frugal:"2,default,Trip" json:"trip"` }
func NewTripEntity ¶
func NewTripEntity() *TripEntity
func (*TripEntity) BLength ¶
func (p *TripEntity) BLength() int
func (*TripEntity) DeepEqual ¶
func (p *TripEntity) DeepEqual(ano *TripEntity) bool
func (*TripEntity) FastReadField1 ¶
func (p *TripEntity) FastReadField1(buf []byte) (int, error)
func (*TripEntity) FastReadField2 ¶
func (p *TripEntity) FastReadField2(buf []byte) (int, error)
func (*TripEntity) FastWriteNocopy ¶
func (p *TripEntity) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripEntity) Field1DeepEqual ¶
func (p *TripEntity) Field1DeepEqual(src string) bool
func (*TripEntity) Field2DeepEqual ¶
func (p *TripEntity) Field2DeepEqual(src *Trip) bool
func (*TripEntity) GetId ¶
func (p *TripEntity) GetId() (v string)
func (*TripEntity) GetTrip ¶
func (p *TripEntity) GetTrip() (v *Trip)
func (*TripEntity) InitDefault ¶
func (p *TripEntity) InitDefault()
func (*TripEntity) IsSetTrip ¶
func (p *TripEntity) IsSetTrip() bool
func (*TripEntity) ReadField1 ¶
func (p *TripEntity) ReadField1(iprot thrift.TProtocol) error
func (*TripEntity) ReadField2 ¶
func (p *TripEntity) ReadField2(iprot thrift.TProtocol) error
func (*TripEntity) SetId ¶
func (p *TripEntity) SetId(val string)
func (*TripEntity) SetTrip ¶
func (p *TripEntity) SetTrip(val *Trip)
func (*TripEntity) String ¶
func (p *TripEntity) String() string
type TripStatus ¶
type TripStatus int64
const ( TripStatus_TS_NOT_SPECIFIED TripStatus = 0 TripStatus_IN_PROGRESS TripStatus = 1 TripStatus_FINISHED TripStatus = 2 )
func TripStatusFromString ¶
func TripStatusFromString(s string) (TripStatus, error)
func TripStatusPtr ¶
func TripStatusPtr(v TripStatus) *TripStatus
func (*TripStatus) Scan ¶
func (p *TripStatus) Scan(value interface{}) (err error)
func (TripStatus) String ¶
func (p TripStatus) String() string
type User ¶
type User struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` PhoneNumber string `thrift:"phone_number,3" frugal:"3,default,string" json:"phone_number"` AvatarBlobId string `thrift:"avatar_blob_id,4" frugal:"4,default,string" json:"avatar_blob_id"` OpenId string `thrift:"open_id,5" frugal:"5,default,string" json:"open_id"` Balance int32 `thrift:"balance,6" frugal:"6,default,i32" json:"balance"` }
func (*User) FastReadField6 ¶ added in v0.2.1
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶ added in v0.2.1
func (*User) GetAccountId ¶
func (*User) GetAvatarBlobId ¶
func (*User) GetBalance ¶ added in v0.2.1
func (*User) GetPhoneNumber ¶
func (*User) GetUsername ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetAccountId ¶
func (*User) SetAvatarBlobId ¶
func (*User) SetBalance ¶ added in v0.2.1
func (*User) SetPhoneNumber ¶
func (*User) SetUsername ¶
type UserInfo ¶
type UserInfo struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` Username string `thrift:"username,2" frugal:"2,default,string" json:"username"` PhoneNumber string `thrift:"phone_number,3" frugal:"3,default,string" json:"phone_number"` AvatarUrl string `thrift:"avatar_url,4" frugal:"4,default,string" json:"avatar_url"` Balance int32 `thrift:"balance,5" frugal:"5,default,i32" json:"balance"` }
func NewUserInfo ¶
func NewUserInfo() *UserInfo
func (*UserInfo) FastReadField5 ¶ added in v0.2.1
func (*UserInfo) FastWriteNocopy ¶
func (p *UserInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserInfo) Field1DeepEqual ¶
func (*UserInfo) Field2DeepEqual ¶
func (*UserInfo) Field3DeepEqual ¶
func (*UserInfo) Field4DeepEqual ¶
func (*UserInfo) Field5DeepEqual ¶ added in v0.2.1
func (*UserInfo) GetAccountId ¶
func (*UserInfo) GetAvatarUrl ¶
func (*UserInfo) GetBalance ¶ added in v0.2.1
func (*UserInfo) GetPhoneNumber ¶
func (*UserInfo) GetUsername ¶
func (*UserInfo) InitDefault ¶
func (p *UserInfo) InitDefault()
func (*UserInfo) ReadField5 ¶ added in v0.2.1
func (*UserInfo) SetAccountId ¶
func (*UserInfo) SetAvatarUrl ¶
func (*UserInfo) SetBalance ¶ added in v0.2.1
func (*UserInfo) SetPhoneNumber ¶
func (*UserInfo) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.