Documentation ¶
Index ¶
- Variables
- type CreateTripRequest
- func (p *CreateTripRequest) BLength() int
- func (p *CreateTripRequest) DeepEqual(ano *CreateTripRequest) bool
- func (p *CreateTripRequest) FastRead(buf []byte) (int, error)
- func (p *CreateTripRequest) FastReadField1(buf []byte) (int, error)
- func (p *CreateTripRequest) FastReadField2(buf []byte) (int, error)
- func (p *CreateTripRequest) FastReadField3(buf []byte) (int, error)
- func (p *CreateTripRequest) FastReadField4(buf []byte) (int, error)
- func (p *CreateTripRequest) FastWrite(buf []byte) int
- func (p *CreateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateTripRequest) Field1DeepEqual(src *base.Location) bool
- func (p *CreateTripRequest) Field2DeepEqual(src string) bool
- func (p *CreateTripRequest) Field3DeepEqual(src string) bool
- func (p *CreateTripRequest) Field4DeepEqual(src string) bool
- func (p *CreateTripRequest) GetAccountId() (v string)
- func (p *CreateTripRequest) GetAvatarUrl() (v string)
- func (p *CreateTripRequest) GetCarId() (v string)
- func (p *CreateTripRequest) GetStart() (v *base.Location)
- func (p *CreateTripRequest) InitDefault()
- func (p *CreateTripRequest) IsSetStart() bool
- func (p *CreateTripRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateTripRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateTripRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateTripRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *CreateTripRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *CreateTripRequest) SetAccountId(val string)
- func (p *CreateTripRequest) SetAvatarUrl(val string)
- func (p *CreateTripRequest) SetCarId(val string)
- func (p *CreateTripRequest) SetStart(val *base.Location)
- func (p *CreateTripRequest) String() string
- func (p *CreateTripRequest) Write(oprot thrift.TProtocol) (err error)
- type CreateTripResponse
- func (p *CreateTripResponse) BLength() int
- func (p *CreateTripResponse) DeepEqual(ano *CreateTripResponse) bool
- func (p *CreateTripResponse) FastRead(buf []byte) (int, error)
- func (p *CreateTripResponse) FastReadField1(buf []byte) (int, error)
- func (p *CreateTripResponse) FastReadField2(buf []byte) (int, error)
- func (p *CreateTripResponse) FastWrite(buf []byte) int
- func (p *CreateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *CreateTripResponse) Field2DeepEqual(src *base.TripEntity) bool
- func (p *CreateTripResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *CreateTripResponse) GetTripEntity() (v *base.TripEntity)
- func (p *CreateTripResponse) InitDefault()
- func (p *CreateTripResponse) IsSetBaseResp() bool
- func (p *CreateTripResponse) IsSetTripEntity() bool
- func (p *CreateTripResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateTripResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateTripResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateTripResponse) SetBaseResp(val *base.BaseResponse)
- func (p *CreateTripResponse) SetTripEntity(val *base.TripEntity)
- func (p *CreateTripResponse) String() string
- func (p *CreateTripResponse) Write(oprot thrift.TProtocol) (err error)
- type DeleteTripRequest
- func (p *DeleteTripRequest) BLength() int
- func (p *DeleteTripRequest) DeepEqual(ano *DeleteTripRequest) bool
- func (p *DeleteTripRequest) FastRead(buf []byte) (int, error)
- func (p *DeleteTripRequest) FastReadField1(buf []byte) (int, error)
- func (p *DeleteTripRequest) FastWrite(buf []byte) int
- func (p *DeleteTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteTripRequest) Field1DeepEqual(src string) bool
- func (p *DeleteTripRequest) GetId() (v string)
- func (p *DeleteTripRequest) InitDefault()
- func (p *DeleteTripRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteTripRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteTripRequest) SetId(val string)
- func (p *DeleteTripRequest) String() string
- func (p *DeleteTripRequest) Write(oprot thrift.TProtocol) (err error)
- type DeleteTripResponse
- func (p *DeleteTripResponse) BLength() int
- func (p *DeleteTripResponse) DeepEqual(ano *DeleteTripResponse) bool
- func (p *DeleteTripResponse) FastRead(buf []byte) (int, error)
- func (p *DeleteTripResponse) FastReadField1(buf []byte) (int, error)
- func (p *DeleteTripResponse) FastWrite(buf []byte) int
- func (p *DeleteTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *DeleteTripResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *DeleteTripResponse) InitDefault()
- func (p *DeleteTripResponse) IsSetBaseResp() bool
- func (p *DeleteTripResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteTripResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteTripResponse) SetBaseResp(val *base.BaseResponse)
- func (p *DeleteTripResponse) String() string
- func (p *DeleteTripResponse) Write(oprot thrift.TProtocol) (err error)
- type GetAllTripsRequest
- func (p *GetAllTripsRequest) BLength() int
- func (p *GetAllTripsRequest) DeepEqual(ano *GetAllTripsRequest) bool
- func (p *GetAllTripsRequest) FastRead(buf []byte) (int, error)
- func (p *GetAllTripsRequest) FastWrite(buf []byte) int
- func (p *GetAllTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllTripsRequest) InitDefault()
- func (p *GetAllTripsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllTripsRequest) String() string
- func (p *GetAllTripsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetAllTripsResponse
- func (p *GetAllTripsResponse) BLength() int
- func (p *GetAllTripsResponse) DeepEqual(ano *GetAllTripsResponse) bool
- func (p *GetAllTripsResponse) FastRead(buf []byte) (int, error)
- func (p *GetAllTripsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetAllTripsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetAllTripsResponse) FastWrite(buf []byte) int
- func (p *GetAllTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetAllTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
- func (p *GetAllTripsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetAllTripsResponse) GetTrips() (v []*base.TripEntity)
- func (p *GetAllTripsResponse) InitDefault()
- func (p *GetAllTripsResponse) IsSetBaseResp() bool
- func (p *GetAllTripsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllTripsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAllTripsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetAllTripsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetAllTripsResponse) SetTrips(val []*base.TripEntity)
- func (p *GetAllTripsResponse) String() string
- func (p *GetAllTripsResponse) Write(oprot thrift.TProtocol) (err error)
- type GetSomeTripsRequest
- func (p *GetSomeTripsRequest) BLength() int
- func (p *GetSomeTripsRequest) DeepEqual(ano *GetSomeTripsRequest) bool
- func (p *GetSomeTripsRequest) FastRead(buf []byte) (int, error)
- func (p *GetSomeTripsRequest) FastWrite(buf []byte) int
- func (p *GetSomeTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeTripsRequest) InitDefault()
- func (p *GetSomeTripsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeTripsRequest) String() string
- func (p *GetSomeTripsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetSomeTripsResponse
- func (p *GetSomeTripsResponse) BLength() int
- func (p *GetSomeTripsResponse) DeepEqual(ano *GetSomeTripsResponse) bool
- func (p *GetSomeTripsResponse) FastRead(buf []byte) (int, error)
- func (p *GetSomeTripsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetSomeTripsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetSomeTripsResponse) FastWrite(buf []byte) int
- func (p *GetSomeTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetSomeTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
- func (p *GetSomeTripsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetSomeTripsResponse) GetTrips() (v []*base.TripEntity)
- func (p *GetSomeTripsResponse) InitDefault()
- func (p *GetSomeTripsResponse) IsSetBaseResp() bool
- func (p *GetSomeTripsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeTripsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetSomeTripsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetSomeTripsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetSomeTripsResponse) SetTrips(val []*base.TripEntity)
- func (p *GetSomeTripsResponse) String() string
- func (p *GetSomeTripsResponse) Write(oprot thrift.TProtocol) (err error)
- type GetTripRequest
- func (p *GetTripRequest) BLength() int
- func (p *GetTripRequest) DeepEqual(ano *GetTripRequest) bool
- func (p *GetTripRequest) FastRead(buf []byte) (int, error)
- func (p *GetTripRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetTripRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetTripRequest) FastWrite(buf []byte) int
- func (p *GetTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetTripRequest) Field1DeepEqual(src string) bool
- func (p *GetTripRequest) Field2DeepEqual(src string) bool
- func (p *GetTripRequest) GetAccountId() (v string)
- func (p *GetTripRequest) GetId() (v string)
- func (p *GetTripRequest) InitDefault()
- func (p *GetTripRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetTripRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetTripRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GetTripRequest) SetAccountId(val string)
- func (p *GetTripRequest) SetId(val string)
- func (p *GetTripRequest) String() string
- func (p *GetTripRequest) Write(oprot thrift.TProtocol) (err error)
- type GetTripResponse
- func (p *GetTripResponse) BLength() int
- func (p *GetTripResponse) DeepEqual(ano *GetTripResponse) bool
- func (p *GetTripResponse) FastRead(buf []byte) (int, error)
- func (p *GetTripResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetTripResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetTripResponse) FastWrite(buf []byte) int
- func (p *GetTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetTripResponse) Field2DeepEqual(src *base.Trip) bool
- func (p *GetTripResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetTripResponse) GetTrip() (v *base.Trip)
- func (p *GetTripResponse) InitDefault()
- func (p *GetTripResponse) IsSetBaseResp() bool
- func (p *GetTripResponse) IsSetTrip() bool
- func (p *GetTripResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetTripResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetTripResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetTripResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetTripResponse) SetTrip(val *base.Trip)
- func (p *GetTripResponse) String() string
- func (p *GetTripResponse) Write(oprot thrift.TProtocol) (err error)
- type GetTripsRequest
- func (p *GetTripsRequest) BLength() int
- func (p *GetTripsRequest) DeepEqual(ano *GetTripsRequest) bool
- func (p *GetTripsRequest) FastRead(buf []byte) (int, error)
- func (p *GetTripsRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetTripsRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetTripsRequest) FastWrite(buf []byte) int
- func (p *GetTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetTripsRequest) Field1DeepEqual(src base.TripStatus) bool
- func (p *GetTripsRequest) Field2DeepEqual(src string) bool
- func (p *GetTripsRequest) GetAccountId() (v string)
- func (p *GetTripsRequest) GetStatus() (v base.TripStatus)
- func (p *GetTripsRequest) InitDefault()
- func (p *GetTripsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetTripsRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetTripsRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GetTripsRequest) SetAccountId(val string)
- func (p *GetTripsRequest) SetStatus(val base.TripStatus)
- func (p *GetTripsRequest) String() string
- func (p *GetTripsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetTripsResponse
- func (p *GetTripsResponse) BLength() int
- func (p *GetTripsResponse) DeepEqual(ano *GetTripsResponse) bool
- func (p *GetTripsResponse) FastRead(buf []byte) (int, error)
- func (p *GetTripsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetTripsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetTripsResponse) FastWrite(buf []byte) int
- func (p *GetTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
- func (p *GetTripsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetTripsResponse) GetTrips() (v []*base.TripEntity)
- func (p *GetTripsResponse) InitDefault()
- func (p *GetTripsResponse) IsSetBaseResp() bool
- func (p *GetTripsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetTripsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetTripsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetTripsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetTripsResponse) SetTrips(val []*base.TripEntity)
- func (p *GetTripsResponse) String() string
- func (p *GetTripsResponse) Write(oprot thrift.TProtocol) (err error)
- type TripService
- type TripServiceClient
- func (p *TripServiceClient) Client_() thrift.TClient
- func (p *TripServiceClient) CreateTrip(ctx context.Context, req *CreateTripRequest) (r *CreateTripResponse, err error)
- func (p *TripServiceClient) DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *DeleteTripResponse, err error)
- func (p *TripServiceClient) GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *GetAllTripsResponse, err error)
- func (p *TripServiceClient) GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *GetSomeTripsResponse, err error)
- func (p *TripServiceClient) GetTrip(ctx context.Context, req *GetTripRequest) (r *GetTripResponse, err error)
- func (p *TripServiceClient) GetTrips(ctx context.Context, req *GetTripsRequest) (r *GetTripsResponse, err error)
- func (p *TripServiceClient) UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *UpdateTripResponse, err error)
- type TripServiceCreateTripArgs
- func (p *TripServiceCreateTripArgs) BLength() int
- func (p *TripServiceCreateTripArgs) DeepEqual(ano *TripServiceCreateTripArgs) bool
- func (p *TripServiceCreateTripArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceCreateTripArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceCreateTripArgs) FastWrite(buf []byte) int
- func (p *TripServiceCreateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceCreateTripArgs) Field1DeepEqual(src *CreateTripRequest) bool
- func (p *TripServiceCreateTripArgs) GetFirstArgument() interface{}
- func (p *TripServiceCreateTripArgs) GetReq() (v *CreateTripRequest)
- func (p *TripServiceCreateTripArgs) InitDefault()
- func (p *TripServiceCreateTripArgs) IsSetReq() bool
- func (p *TripServiceCreateTripArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceCreateTripArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceCreateTripArgs) SetReq(val *CreateTripRequest)
- func (p *TripServiceCreateTripArgs) String() string
- func (p *TripServiceCreateTripArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceCreateTripResult
- func (p *TripServiceCreateTripResult) BLength() int
- func (p *TripServiceCreateTripResult) DeepEqual(ano *TripServiceCreateTripResult) bool
- func (p *TripServiceCreateTripResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceCreateTripResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceCreateTripResult) FastWrite(buf []byte) int
- func (p *TripServiceCreateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceCreateTripResult) Field0DeepEqual(src *CreateTripResponse) bool
- func (p *TripServiceCreateTripResult) GetResult() interface{}
- func (p *TripServiceCreateTripResult) GetSuccess() (v *CreateTripResponse)
- func (p *TripServiceCreateTripResult) InitDefault()
- func (p *TripServiceCreateTripResult) IsSetSuccess() bool
- func (p *TripServiceCreateTripResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceCreateTripResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceCreateTripResult) SetSuccess(x interface{})
- func (p *TripServiceCreateTripResult) String() string
- func (p *TripServiceCreateTripResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceDeleteTripArgs
- func (p *TripServiceDeleteTripArgs) BLength() int
- func (p *TripServiceDeleteTripArgs) DeepEqual(ano *TripServiceDeleteTripArgs) bool
- func (p *TripServiceDeleteTripArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceDeleteTripArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceDeleteTripArgs) FastWrite(buf []byte) int
- func (p *TripServiceDeleteTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceDeleteTripArgs) Field1DeepEqual(src *DeleteTripRequest) bool
- func (p *TripServiceDeleteTripArgs) GetFirstArgument() interface{}
- func (p *TripServiceDeleteTripArgs) GetReq() (v *DeleteTripRequest)
- func (p *TripServiceDeleteTripArgs) InitDefault()
- func (p *TripServiceDeleteTripArgs) IsSetReq() bool
- func (p *TripServiceDeleteTripArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceDeleteTripArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceDeleteTripArgs) SetReq(val *DeleteTripRequest)
- func (p *TripServiceDeleteTripArgs) String() string
- func (p *TripServiceDeleteTripArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceDeleteTripResult
- func (p *TripServiceDeleteTripResult) BLength() int
- func (p *TripServiceDeleteTripResult) DeepEqual(ano *TripServiceDeleteTripResult) bool
- func (p *TripServiceDeleteTripResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceDeleteTripResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceDeleteTripResult) FastWrite(buf []byte) int
- func (p *TripServiceDeleteTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceDeleteTripResult) Field0DeepEqual(src *DeleteTripResponse) bool
- func (p *TripServiceDeleteTripResult) GetResult() interface{}
- func (p *TripServiceDeleteTripResult) GetSuccess() (v *DeleteTripResponse)
- func (p *TripServiceDeleteTripResult) InitDefault()
- func (p *TripServiceDeleteTripResult) IsSetSuccess() bool
- func (p *TripServiceDeleteTripResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceDeleteTripResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceDeleteTripResult) SetSuccess(x interface{})
- func (p *TripServiceDeleteTripResult) String() string
- func (p *TripServiceDeleteTripResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetAllTripsArgs
- func (p *TripServiceGetAllTripsArgs) BLength() int
- func (p *TripServiceGetAllTripsArgs) DeepEqual(ano *TripServiceGetAllTripsArgs) bool
- func (p *TripServiceGetAllTripsArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetAllTripsArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceGetAllTripsArgs) FastWrite(buf []byte) int
- func (p *TripServiceGetAllTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetAllTripsArgs) Field1DeepEqual(src *GetAllTripsRequest) bool
- func (p *TripServiceGetAllTripsArgs) GetFirstArgument() interface{}
- func (p *TripServiceGetAllTripsArgs) GetReq() (v *GetAllTripsRequest)
- func (p *TripServiceGetAllTripsArgs) InitDefault()
- func (p *TripServiceGetAllTripsArgs) IsSetReq() bool
- func (p *TripServiceGetAllTripsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetAllTripsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceGetAllTripsArgs) SetReq(val *GetAllTripsRequest)
- func (p *TripServiceGetAllTripsArgs) String() string
- func (p *TripServiceGetAllTripsArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetAllTripsResult
- func (p *TripServiceGetAllTripsResult) BLength() int
- func (p *TripServiceGetAllTripsResult) DeepEqual(ano *TripServiceGetAllTripsResult) bool
- func (p *TripServiceGetAllTripsResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetAllTripsResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceGetAllTripsResult) FastWrite(buf []byte) int
- func (p *TripServiceGetAllTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetAllTripsResult) Field0DeepEqual(src *GetAllTripsResponse) bool
- func (p *TripServiceGetAllTripsResult) GetResult() interface{}
- func (p *TripServiceGetAllTripsResult) GetSuccess() (v *GetAllTripsResponse)
- func (p *TripServiceGetAllTripsResult) InitDefault()
- func (p *TripServiceGetAllTripsResult) IsSetSuccess() bool
- func (p *TripServiceGetAllTripsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetAllTripsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceGetAllTripsResult) SetSuccess(x interface{})
- func (p *TripServiceGetAllTripsResult) String() string
- func (p *TripServiceGetAllTripsResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetSomeTripsArgs
- func (p *TripServiceGetSomeTripsArgs) BLength() int
- func (p *TripServiceGetSomeTripsArgs) DeepEqual(ano *TripServiceGetSomeTripsArgs) bool
- func (p *TripServiceGetSomeTripsArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetSomeTripsArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceGetSomeTripsArgs) FastWrite(buf []byte) int
- func (p *TripServiceGetSomeTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetSomeTripsArgs) Field1DeepEqual(src *GetSomeTripsRequest) bool
- func (p *TripServiceGetSomeTripsArgs) GetFirstArgument() interface{}
- func (p *TripServiceGetSomeTripsArgs) GetReq() (v *GetSomeTripsRequest)
- func (p *TripServiceGetSomeTripsArgs) InitDefault()
- func (p *TripServiceGetSomeTripsArgs) IsSetReq() bool
- func (p *TripServiceGetSomeTripsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetSomeTripsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceGetSomeTripsArgs) SetReq(val *GetSomeTripsRequest)
- func (p *TripServiceGetSomeTripsArgs) String() string
- func (p *TripServiceGetSomeTripsArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetSomeTripsResult
- func (p *TripServiceGetSomeTripsResult) BLength() int
- func (p *TripServiceGetSomeTripsResult) DeepEqual(ano *TripServiceGetSomeTripsResult) bool
- func (p *TripServiceGetSomeTripsResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetSomeTripsResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceGetSomeTripsResult) FastWrite(buf []byte) int
- func (p *TripServiceGetSomeTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetSomeTripsResult) Field0DeepEqual(src *GetSomeTripsResponse) bool
- func (p *TripServiceGetSomeTripsResult) GetResult() interface{}
- func (p *TripServiceGetSomeTripsResult) GetSuccess() (v *GetSomeTripsResponse)
- func (p *TripServiceGetSomeTripsResult) InitDefault()
- func (p *TripServiceGetSomeTripsResult) IsSetSuccess() bool
- func (p *TripServiceGetSomeTripsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetSomeTripsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceGetSomeTripsResult) SetSuccess(x interface{})
- func (p *TripServiceGetSomeTripsResult) String() string
- func (p *TripServiceGetSomeTripsResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetTripArgs
- func (p *TripServiceGetTripArgs) BLength() int
- func (p *TripServiceGetTripArgs) DeepEqual(ano *TripServiceGetTripArgs) bool
- func (p *TripServiceGetTripArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetTripArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceGetTripArgs) FastWrite(buf []byte) int
- func (p *TripServiceGetTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetTripArgs) Field1DeepEqual(src *GetTripRequest) bool
- func (p *TripServiceGetTripArgs) GetFirstArgument() interface{}
- func (p *TripServiceGetTripArgs) GetReq() (v *GetTripRequest)
- func (p *TripServiceGetTripArgs) InitDefault()
- func (p *TripServiceGetTripArgs) IsSetReq() bool
- func (p *TripServiceGetTripArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetTripArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceGetTripArgs) SetReq(val *GetTripRequest)
- func (p *TripServiceGetTripArgs) String() string
- func (p *TripServiceGetTripArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetTripResult
- func (p *TripServiceGetTripResult) BLength() int
- func (p *TripServiceGetTripResult) DeepEqual(ano *TripServiceGetTripResult) bool
- func (p *TripServiceGetTripResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetTripResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceGetTripResult) FastWrite(buf []byte) int
- func (p *TripServiceGetTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetTripResult) Field0DeepEqual(src *GetTripResponse) bool
- func (p *TripServiceGetTripResult) GetResult() interface{}
- func (p *TripServiceGetTripResult) GetSuccess() (v *GetTripResponse)
- func (p *TripServiceGetTripResult) InitDefault()
- func (p *TripServiceGetTripResult) IsSetSuccess() bool
- func (p *TripServiceGetTripResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetTripResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceGetTripResult) SetSuccess(x interface{})
- func (p *TripServiceGetTripResult) String() string
- func (p *TripServiceGetTripResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetTripsArgs
- func (p *TripServiceGetTripsArgs) BLength() int
- func (p *TripServiceGetTripsArgs) DeepEqual(ano *TripServiceGetTripsArgs) bool
- func (p *TripServiceGetTripsArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetTripsArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceGetTripsArgs) FastWrite(buf []byte) int
- func (p *TripServiceGetTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetTripsArgs) Field1DeepEqual(src *GetTripsRequest) bool
- func (p *TripServiceGetTripsArgs) GetFirstArgument() interface{}
- func (p *TripServiceGetTripsArgs) GetReq() (v *GetTripsRequest)
- func (p *TripServiceGetTripsArgs) InitDefault()
- func (p *TripServiceGetTripsArgs) IsSetReq() bool
- func (p *TripServiceGetTripsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetTripsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceGetTripsArgs) SetReq(val *GetTripsRequest)
- func (p *TripServiceGetTripsArgs) String() string
- func (p *TripServiceGetTripsArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceGetTripsResult
- func (p *TripServiceGetTripsResult) BLength() int
- func (p *TripServiceGetTripsResult) DeepEqual(ano *TripServiceGetTripsResult) bool
- func (p *TripServiceGetTripsResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceGetTripsResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceGetTripsResult) FastWrite(buf []byte) int
- func (p *TripServiceGetTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceGetTripsResult) Field0DeepEqual(src *GetTripsResponse) bool
- func (p *TripServiceGetTripsResult) GetResult() interface{}
- func (p *TripServiceGetTripsResult) GetSuccess() (v *GetTripsResponse)
- func (p *TripServiceGetTripsResult) InitDefault()
- func (p *TripServiceGetTripsResult) IsSetSuccess() bool
- func (p *TripServiceGetTripsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceGetTripsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceGetTripsResult) SetSuccess(x interface{})
- func (p *TripServiceGetTripsResult) String() string
- func (p *TripServiceGetTripsResult) Write(oprot thrift.TProtocol) (err error)
- type TripServiceProcessor
- func (p *TripServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TripServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TripServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TripServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TripServiceUpdateTripArgs
- func (p *TripServiceUpdateTripArgs) BLength() int
- func (p *TripServiceUpdateTripArgs) DeepEqual(ano *TripServiceUpdateTripArgs) bool
- func (p *TripServiceUpdateTripArgs) FastRead(buf []byte) (int, error)
- func (p *TripServiceUpdateTripArgs) FastReadField1(buf []byte) (int, error)
- func (p *TripServiceUpdateTripArgs) FastWrite(buf []byte) int
- func (p *TripServiceUpdateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceUpdateTripArgs) Field1DeepEqual(src *UpdateTripRequest) bool
- func (p *TripServiceUpdateTripArgs) GetFirstArgument() interface{}
- func (p *TripServiceUpdateTripArgs) GetReq() (v *UpdateTripRequest)
- func (p *TripServiceUpdateTripArgs) InitDefault()
- func (p *TripServiceUpdateTripArgs) IsSetReq() bool
- func (p *TripServiceUpdateTripArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceUpdateTripArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TripServiceUpdateTripArgs) SetReq(val *UpdateTripRequest)
- func (p *TripServiceUpdateTripArgs) String() string
- func (p *TripServiceUpdateTripArgs) Write(oprot thrift.TProtocol) (err error)
- type TripServiceUpdateTripResult
- func (p *TripServiceUpdateTripResult) BLength() int
- func (p *TripServiceUpdateTripResult) DeepEqual(ano *TripServiceUpdateTripResult) bool
- func (p *TripServiceUpdateTripResult) FastRead(buf []byte) (int, error)
- func (p *TripServiceUpdateTripResult) FastReadField0(buf []byte) (int, error)
- func (p *TripServiceUpdateTripResult) FastWrite(buf []byte) int
- func (p *TripServiceUpdateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TripServiceUpdateTripResult) Field0DeepEqual(src *UpdateTripResponse) bool
- func (p *TripServiceUpdateTripResult) GetResult() interface{}
- func (p *TripServiceUpdateTripResult) GetSuccess() (v *UpdateTripResponse)
- func (p *TripServiceUpdateTripResult) InitDefault()
- func (p *TripServiceUpdateTripResult) IsSetSuccess() bool
- func (p *TripServiceUpdateTripResult) Read(iprot thrift.TProtocol) (err error)
- func (p *TripServiceUpdateTripResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TripServiceUpdateTripResult) SetSuccess(x interface{})
- func (p *TripServiceUpdateTripResult) String() string
- func (p *TripServiceUpdateTripResult) Write(oprot thrift.TProtocol) (err error)
- type UpdateTripRequest
- func (p *UpdateTripRequest) BLength() int
- func (p *UpdateTripRequest) DeepEqual(ano *UpdateTripRequest) bool
- func (p *UpdateTripRequest) FastRead(buf []byte) (int, error)
- func (p *UpdateTripRequest) FastReadField1(buf []byte) (int, error)
- func (p *UpdateTripRequest) FastReadField2(buf []byte) (int, error)
- func (p *UpdateTripRequest) FastReadField3(buf []byte) (int, error)
- func (p *UpdateTripRequest) FastReadField4(buf []byte) (int, error)
- func (p *UpdateTripRequest) FastWrite(buf []byte) int
- func (p *UpdateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateTripRequest) Field1DeepEqual(src string) bool
- func (p *UpdateTripRequest) Field2DeepEqual(src *base.Location) bool
- func (p *UpdateTripRequest) Field3DeepEqual(src bool) bool
- func (p *UpdateTripRequest) Field4DeepEqual(src string) bool
- func (p *UpdateTripRequest) GetAccountId() (v string)
- func (p *UpdateTripRequest) GetCurrent() (v *base.Location)
- func (p *UpdateTripRequest) GetEndTrip() (v bool)
- func (p *UpdateTripRequest) GetId() (v string)
- func (p *UpdateTripRequest) InitDefault()
- func (p *UpdateTripRequest) IsSetCurrent() bool
- func (p *UpdateTripRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateTripRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateTripRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateTripRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateTripRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateTripRequest) SetAccountId(val string)
- func (p *UpdateTripRequest) SetCurrent(val *base.Location)
- func (p *UpdateTripRequest) SetEndTrip(val bool)
- func (p *UpdateTripRequest) SetId(val string)
- func (p *UpdateTripRequest) String() string
- func (p *UpdateTripRequest) Write(oprot thrift.TProtocol) (err error)
- type UpdateTripResponse
- func (p *UpdateTripResponse) BLength() int
- func (p *UpdateTripResponse) DeepEqual(ano *UpdateTripResponse) bool
- func (p *UpdateTripResponse) FastRead(buf []byte) (int, error)
- func (p *UpdateTripResponse) FastReadField1(buf []byte) (int, error)
- func (p *UpdateTripResponse) FastReadField2(buf []byte) (int, error)
- func (p *UpdateTripResponse) FastWrite(buf []byte) int
- func (p *UpdateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *UpdateTripResponse) Field2DeepEqual(src *base.Trip) bool
- func (p *UpdateTripResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *UpdateTripResponse) GetTrip() (v *base.Trip)
- func (p *UpdateTripResponse) InitDefault()
- func (p *UpdateTripResponse) IsSetBaseResp() bool
- func (p *UpdateTripResponse) IsSetTrip() bool
- func (p *UpdateTripResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateTripResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateTripResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateTripResponse) SetBaseResp(val *base.BaseResponse)
- func (p *UpdateTripResponse) SetTrip(val *base.Trip)
- func (p *UpdateTripResponse) String() string
- func (p *UpdateTripResponse) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTripRequest_Start_DEFAULT *base.Location
View Source
var CreateTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var CreateTripResponse_TripEntity_DEFAULT *base.TripEntity
View Source
var DeleteTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetAllTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetSomeTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetTripResponse_Trip_DEFAULT *base.Trip
View Source
var GetTripsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var UpdateTripRequest_Current_DEFAULT *base.Location
View Source
var UpdateTripResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UpdateTripResponse_Trip_DEFAULT *base.Trip
Functions ¶
This section is empty.
Types ¶
type CreateTripRequest ¶
type CreateTripRequest struct { Start *base.Location `thrift:"start,1" frugal:"1,default,base.Location" json:"start"` CarId string `thrift:"car_id,2" frugal:"2,default,string" json:"car_id"` AvatarUrl string `thrift:"avatar_url,3" frugal:"3,default,string" json:"avatar_url"` AccountId string `thrift:"account_id,4" frugal:"4,default,string" json:"account_id"` }
var TripServiceCreateTripArgs_Req_DEFAULT *CreateTripRequest
func NewCreateTripRequest ¶
func NewCreateTripRequest() *CreateTripRequest
func (*CreateTripRequest) BLength ¶
func (p *CreateTripRequest) BLength() int
func (*CreateTripRequest) DeepEqual ¶
func (p *CreateTripRequest) DeepEqual(ano *CreateTripRequest) bool
func (*CreateTripRequest) FastReadField1 ¶
func (p *CreateTripRequest) FastReadField1(buf []byte) (int, error)
func (*CreateTripRequest) FastReadField2 ¶
func (p *CreateTripRequest) FastReadField2(buf []byte) (int, error)
func (*CreateTripRequest) FastReadField3 ¶
func (p *CreateTripRequest) FastReadField3(buf []byte) (int, error)
func (*CreateTripRequest) FastReadField4 ¶
func (p *CreateTripRequest) FastReadField4(buf []byte) (int, error)
func (*CreateTripRequest) FastWrite ¶
func (p *CreateTripRequest) FastWrite(buf []byte) int
for compatibility
func (*CreateTripRequest) FastWriteNocopy ¶
func (p *CreateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateTripRequest) Field1DeepEqual ¶
func (p *CreateTripRequest) Field1DeepEqual(src *base.Location) bool
func (*CreateTripRequest) Field2DeepEqual ¶
func (p *CreateTripRequest) Field2DeepEqual(src string) bool
func (*CreateTripRequest) Field3DeepEqual ¶
func (p *CreateTripRequest) Field3DeepEqual(src string) bool
func (*CreateTripRequest) Field4DeepEqual ¶
func (p *CreateTripRequest) Field4DeepEqual(src string) bool
func (*CreateTripRequest) GetAccountId ¶
func (p *CreateTripRequest) GetAccountId() (v string)
func (*CreateTripRequest) GetAvatarUrl ¶
func (p *CreateTripRequest) GetAvatarUrl() (v string)
func (*CreateTripRequest) GetCarId ¶
func (p *CreateTripRequest) GetCarId() (v string)
func (*CreateTripRequest) GetStart ¶
func (p *CreateTripRequest) GetStart() (v *base.Location)
func (*CreateTripRequest) InitDefault ¶
func (p *CreateTripRequest) InitDefault()
func (*CreateTripRequest) IsSetStart ¶
func (p *CreateTripRequest) IsSetStart() bool
func (*CreateTripRequest) Read ¶
func (p *CreateTripRequest) Read(iprot thrift.TProtocol) (err error)
func (*CreateTripRequest) ReadField1 ¶
func (p *CreateTripRequest) ReadField1(iprot thrift.TProtocol) error
func (*CreateTripRequest) ReadField2 ¶
func (p *CreateTripRequest) ReadField2(iprot thrift.TProtocol) error
func (*CreateTripRequest) ReadField3 ¶
func (p *CreateTripRequest) ReadField3(iprot thrift.TProtocol) error
func (*CreateTripRequest) ReadField4 ¶
func (p *CreateTripRequest) ReadField4(iprot thrift.TProtocol) error
func (*CreateTripRequest) SetAccountId ¶
func (p *CreateTripRequest) SetAccountId(val string)
func (*CreateTripRequest) SetAvatarUrl ¶
func (p *CreateTripRequest) SetAvatarUrl(val string)
func (*CreateTripRequest) SetCarId ¶
func (p *CreateTripRequest) SetCarId(val string)
func (*CreateTripRequest) SetStart ¶
func (p *CreateTripRequest) SetStart(val *base.Location)
func (*CreateTripRequest) String ¶
func (p *CreateTripRequest) String() string
type CreateTripResponse ¶
type CreateTripResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` TripEntity *base.TripEntity `thrift:"trip_entity,2" frugal:"2,default,base.TripEntity" json:"trip_entity"` }
var TripServiceCreateTripResult_Success_DEFAULT *CreateTripResponse
func NewCreateTripResponse ¶
func NewCreateTripResponse() *CreateTripResponse
func (*CreateTripResponse) BLength ¶
func (p *CreateTripResponse) BLength() int
func (*CreateTripResponse) DeepEqual ¶
func (p *CreateTripResponse) DeepEqual(ano *CreateTripResponse) bool
func (*CreateTripResponse) FastRead ¶
func (p *CreateTripResponse) FastRead(buf []byte) (int, error)
func (*CreateTripResponse) FastReadField1 ¶
func (p *CreateTripResponse) FastReadField1(buf []byte) (int, error)
func (*CreateTripResponse) FastReadField2 ¶
func (p *CreateTripResponse) FastReadField2(buf []byte) (int, error)
func (*CreateTripResponse) FastWrite ¶
func (p *CreateTripResponse) FastWrite(buf []byte) int
for compatibility
func (*CreateTripResponse) FastWriteNocopy ¶
func (p *CreateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateTripResponse) Field1DeepEqual ¶
func (p *CreateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*CreateTripResponse) Field2DeepEqual ¶
func (p *CreateTripResponse) Field2DeepEqual(src *base.TripEntity) bool
func (*CreateTripResponse) GetBaseResp ¶
func (p *CreateTripResponse) GetBaseResp() (v *base.BaseResponse)
func (*CreateTripResponse) GetTripEntity ¶
func (p *CreateTripResponse) GetTripEntity() (v *base.TripEntity)
func (*CreateTripResponse) InitDefault ¶
func (p *CreateTripResponse) InitDefault()
func (*CreateTripResponse) IsSetBaseResp ¶
func (p *CreateTripResponse) IsSetBaseResp() bool
func (*CreateTripResponse) IsSetTripEntity ¶
func (p *CreateTripResponse) IsSetTripEntity() bool
func (*CreateTripResponse) Read ¶
func (p *CreateTripResponse) Read(iprot thrift.TProtocol) (err error)
func (*CreateTripResponse) ReadField1 ¶
func (p *CreateTripResponse) ReadField1(iprot thrift.TProtocol) error
func (*CreateTripResponse) ReadField2 ¶
func (p *CreateTripResponse) ReadField2(iprot thrift.TProtocol) error
func (*CreateTripResponse) SetBaseResp ¶
func (p *CreateTripResponse) SetBaseResp(val *base.BaseResponse)
func (*CreateTripResponse) SetTripEntity ¶
func (p *CreateTripResponse) SetTripEntity(val *base.TripEntity)
func (*CreateTripResponse) String ¶
func (p *CreateTripResponse) String() string
type DeleteTripRequest ¶
type DeleteTripRequest struct {
Id string `thrift:"id,1" frugal:"1,default,string" json:"id"`
}
var TripServiceDeleteTripArgs_Req_DEFAULT *DeleteTripRequest
func NewDeleteTripRequest ¶
func NewDeleteTripRequest() *DeleteTripRequest
func (*DeleteTripRequest) BLength ¶
func (p *DeleteTripRequest) BLength() int
func (*DeleteTripRequest) DeepEqual ¶
func (p *DeleteTripRequest) DeepEqual(ano *DeleteTripRequest) bool
func (*DeleteTripRequest) FastReadField1 ¶
func (p *DeleteTripRequest) FastReadField1(buf []byte) (int, error)
func (*DeleteTripRequest) FastWrite ¶
func (p *DeleteTripRequest) FastWrite(buf []byte) int
for compatibility
func (*DeleteTripRequest) FastWriteNocopy ¶
func (p *DeleteTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteTripRequest) Field1DeepEqual ¶
func (p *DeleteTripRequest) Field1DeepEqual(src string) bool
func (*DeleteTripRequest) GetId ¶
func (p *DeleteTripRequest) GetId() (v string)
func (*DeleteTripRequest) InitDefault ¶
func (p *DeleteTripRequest) InitDefault()
func (*DeleteTripRequest) Read ¶
func (p *DeleteTripRequest) Read(iprot thrift.TProtocol) (err error)
func (*DeleteTripRequest) ReadField1 ¶
func (p *DeleteTripRequest) ReadField1(iprot thrift.TProtocol) error
func (*DeleteTripRequest) SetId ¶
func (p *DeleteTripRequest) SetId(val string)
func (*DeleteTripRequest) String ¶
func (p *DeleteTripRequest) String() string
type DeleteTripResponse ¶
type DeleteTripResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var TripServiceDeleteTripResult_Success_DEFAULT *DeleteTripResponse
func NewDeleteTripResponse ¶
func NewDeleteTripResponse() *DeleteTripResponse
func (*DeleteTripResponse) BLength ¶
func (p *DeleteTripResponse) BLength() int
func (*DeleteTripResponse) DeepEqual ¶
func (p *DeleteTripResponse) DeepEqual(ano *DeleteTripResponse) bool
func (*DeleteTripResponse) FastRead ¶
func (p *DeleteTripResponse) FastRead(buf []byte) (int, error)
func (*DeleteTripResponse) FastReadField1 ¶
func (p *DeleteTripResponse) FastReadField1(buf []byte) (int, error)
func (*DeleteTripResponse) FastWrite ¶
func (p *DeleteTripResponse) FastWrite(buf []byte) int
for compatibility
func (*DeleteTripResponse) FastWriteNocopy ¶
func (p *DeleteTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteTripResponse) Field1DeepEqual ¶
func (p *DeleteTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*DeleteTripResponse) GetBaseResp ¶
func (p *DeleteTripResponse) GetBaseResp() (v *base.BaseResponse)
func (*DeleteTripResponse) InitDefault ¶
func (p *DeleteTripResponse) InitDefault()
func (*DeleteTripResponse) IsSetBaseResp ¶
func (p *DeleteTripResponse) IsSetBaseResp() bool
func (*DeleteTripResponse) Read ¶
func (p *DeleteTripResponse) Read(iprot thrift.TProtocol) (err error)
func (*DeleteTripResponse) ReadField1 ¶
func (p *DeleteTripResponse) ReadField1(iprot thrift.TProtocol) error
func (*DeleteTripResponse) SetBaseResp ¶
func (p *DeleteTripResponse) SetBaseResp(val *base.BaseResponse)
func (*DeleteTripResponse) String ¶
func (p *DeleteTripResponse) String() string
type GetAllTripsRequest ¶
type GetAllTripsRequest struct { }
var TripServiceGetAllTripsArgs_Req_DEFAULT *GetAllTripsRequest
func NewGetAllTripsRequest ¶
func NewGetAllTripsRequest() *GetAllTripsRequest
func (*GetAllTripsRequest) BLength ¶
func (p *GetAllTripsRequest) BLength() int
func (*GetAllTripsRequest) DeepEqual ¶
func (p *GetAllTripsRequest) DeepEqual(ano *GetAllTripsRequest) bool
func (*GetAllTripsRequest) FastRead ¶
func (p *GetAllTripsRequest) FastRead(buf []byte) (int, error)
func (*GetAllTripsRequest) FastWrite ¶
func (p *GetAllTripsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetAllTripsRequest) FastWriteNocopy ¶
func (p *GetAllTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllTripsRequest) InitDefault ¶
func (p *GetAllTripsRequest) InitDefault()
func (*GetAllTripsRequest) Read ¶
func (p *GetAllTripsRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetAllTripsRequest) String ¶
func (p *GetAllTripsRequest) String() string
type GetAllTripsResponse ¶
type GetAllTripsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Trips []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"` }
var TripServiceGetAllTripsResult_Success_DEFAULT *GetAllTripsResponse
func NewGetAllTripsResponse ¶
func NewGetAllTripsResponse() *GetAllTripsResponse
func (*GetAllTripsResponse) BLength ¶
func (p *GetAllTripsResponse) BLength() int
func (*GetAllTripsResponse) DeepEqual ¶
func (p *GetAllTripsResponse) DeepEqual(ano *GetAllTripsResponse) bool
func (*GetAllTripsResponse) FastRead ¶
func (p *GetAllTripsResponse) FastRead(buf []byte) (int, error)
func (*GetAllTripsResponse) FastReadField1 ¶
func (p *GetAllTripsResponse) FastReadField1(buf []byte) (int, error)
func (*GetAllTripsResponse) FastReadField2 ¶
func (p *GetAllTripsResponse) FastReadField2(buf []byte) (int, error)
func (*GetAllTripsResponse) FastWrite ¶
func (p *GetAllTripsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetAllTripsResponse) FastWriteNocopy ¶
func (p *GetAllTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllTripsResponse) Field1DeepEqual ¶
func (p *GetAllTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetAllTripsResponse) Field2DeepEqual ¶
func (p *GetAllTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
func (*GetAllTripsResponse) GetBaseResp ¶
func (p *GetAllTripsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetAllTripsResponse) GetTrips ¶
func (p *GetAllTripsResponse) GetTrips() (v []*base.TripEntity)
func (*GetAllTripsResponse) InitDefault ¶
func (p *GetAllTripsResponse) InitDefault()
func (*GetAllTripsResponse) IsSetBaseResp ¶
func (p *GetAllTripsResponse) IsSetBaseResp() bool
func (*GetAllTripsResponse) Read ¶
func (p *GetAllTripsResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetAllTripsResponse) ReadField1 ¶
func (p *GetAllTripsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetAllTripsResponse) ReadField2 ¶
func (p *GetAllTripsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetAllTripsResponse) SetBaseResp ¶
func (p *GetAllTripsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetAllTripsResponse) SetTrips ¶
func (p *GetAllTripsResponse) SetTrips(val []*base.TripEntity)
func (*GetAllTripsResponse) String ¶
func (p *GetAllTripsResponse) String() string
type GetSomeTripsRequest ¶
type GetSomeTripsRequest struct { }
var TripServiceGetSomeTripsArgs_Req_DEFAULT *GetSomeTripsRequest
func NewGetSomeTripsRequest ¶
func NewGetSomeTripsRequest() *GetSomeTripsRequest
func (*GetSomeTripsRequest) BLength ¶
func (p *GetSomeTripsRequest) BLength() int
func (*GetSomeTripsRequest) DeepEqual ¶
func (p *GetSomeTripsRequest) DeepEqual(ano *GetSomeTripsRequest) bool
func (*GetSomeTripsRequest) FastRead ¶
func (p *GetSomeTripsRequest) FastRead(buf []byte) (int, error)
func (*GetSomeTripsRequest) FastWrite ¶
func (p *GetSomeTripsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetSomeTripsRequest) FastWriteNocopy ¶
func (p *GetSomeTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeTripsRequest) InitDefault ¶
func (p *GetSomeTripsRequest) InitDefault()
func (*GetSomeTripsRequest) Read ¶
func (p *GetSomeTripsRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeTripsRequest) String ¶
func (p *GetSomeTripsRequest) String() string
type GetSomeTripsResponse ¶
type GetSomeTripsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Trips []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"` }
var TripServiceGetSomeTripsResult_Success_DEFAULT *GetSomeTripsResponse
func NewGetSomeTripsResponse ¶
func NewGetSomeTripsResponse() *GetSomeTripsResponse
func (*GetSomeTripsResponse) BLength ¶
func (p *GetSomeTripsResponse) BLength() int
func (*GetSomeTripsResponse) DeepEqual ¶
func (p *GetSomeTripsResponse) DeepEqual(ano *GetSomeTripsResponse) bool
func (*GetSomeTripsResponse) FastRead ¶
func (p *GetSomeTripsResponse) FastRead(buf []byte) (int, error)
func (*GetSomeTripsResponse) FastReadField1 ¶
func (p *GetSomeTripsResponse) FastReadField1(buf []byte) (int, error)
func (*GetSomeTripsResponse) FastReadField2 ¶
func (p *GetSomeTripsResponse) FastReadField2(buf []byte) (int, error)
func (*GetSomeTripsResponse) FastWrite ¶
func (p *GetSomeTripsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetSomeTripsResponse) FastWriteNocopy ¶
func (p *GetSomeTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeTripsResponse) Field1DeepEqual ¶
func (p *GetSomeTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetSomeTripsResponse) Field2DeepEqual ¶
func (p *GetSomeTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
func (*GetSomeTripsResponse) GetBaseResp ¶
func (p *GetSomeTripsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetSomeTripsResponse) GetTrips ¶
func (p *GetSomeTripsResponse) GetTrips() (v []*base.TripEntity)
func (*GetSomeTripsResponse) InitDefault ¶
func (p *GetSomeTripsResponse) InitDefault()
func (*GetSomeTripsResponse) IsSetBaseResp ¶
func (p *GetSomeTripsResponse) IsSetBaseResp() bool
func (*GetSomeTripsResponse) Read ¶
func (p *GetSomeTripsResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeTripsResponse) ReadField1 ¶
func (p *GetSomeTripsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetSomeTripsResponse) ReadField2 ¶
func (p *GetSomeTripsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetSomeTripsResponse) SetBaseResp ¶
func (p *GetSomeTripsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetSomeTripsResponse) SetTrips ¶
func (p *GetSomeTripsResponse) SetTrips(val []*base.TripEntity)
func (*GetSomeTripsResponse) String ¶
func (p *GetSomeTripsResponse) String() string
type GetTripRequest ¶
type GetTripRequest struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` AccountId string `thrift:"account_id,2" frugal:"2,default,string" json:"account_id"` }
var TripServiceGetTripArgs_Req_DEFAULT *GetTripRequest
func NewGetTripRequest ¶
func NewGetTripRequest() *GetTripRequest
func (*GetTripRequest) BLength ¶
func (p *GetTripRequest) BLength() int
func (*GetTripRequest) DeepEqual ¶
func (p *GetTripRequest) DeepEqual(ano *GetTripRequest) bool
func (*GetTripRequest) FastReadField1 ¶
func (p *GetTripRequest) FastReadField1(buf []byte) (int, error)
func (*GetTripRequest) FastReadField2 ¶
func (p *GetTripRequest) FastReadField2(buf []byte) (int, error)
func (*GetTripRequest) FastWrite ¶
func (p *GetTripRequest) FastWrite(buf []byte) int
for compatibility
func (*GetTripRequest) FastWriteNocopy ¶
func (p *GetTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetTripRequest) Field1DeepEqual ¶
func (p *GetTripRequest) Field1DeepEqual(src string) bool
func (*GetTripRequest) Field2DeepEqual ¶
func (p *GetTripRequest) Field2DeepEqual(src string) bool
func (*GetTripRequest) GetAccountId ¶
func (p *GetTripRequest) GetAccountId() (v string)
func (*GetTripRequest) GetId ¶
func (p *GetTripRequest) GetId() (v string)
func (*GetTripRequest) InitDefault ¶
func (p *GetTripRequest) InitDefault()
func (*GetTripRequest) ReadField1 ¶
func (p *GetTripRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetTripRequest) ReadField2 ¶
func (p *GetTripRequest) ReadField2(iprot thrift.TProtocol) error
func (*GetTripRequest) SetAccountId ¶
func (p *GetTripRequest) SetAccountId(val string)
func (*GetTripRequest) SetId ¶
func (p *GetTripRequest) SetId(val string)
func (*GetTripRequest) String ¶
func (p *GetTripRequest) String() string
type GetTripResponse ¶
type GetTripResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Trip *base.Trip `thrift:"trip,2" frugal:"2,default,base.Trip" json:"trip"` }
var TripServiceGetTripResult_Success_DEFAULT *GetTripResponse
func NewGetTripResponse ¶
func NewGetTripResponse() *GetTripResponse
func (*GetTripResponse) BLength ¶
func (p *GetTripResponse) BLength() int
func (*GetTripResponse) DeepEqual ¶
func (p *GetTripResponse) DeepEqual(ano *GetTripResponse) bool
func (*GetTripResponse) FastReadField1 ¶
func (p *GetTripResponse) FastReadField1(buf []byte) (int, error)
func (*GetTripResponse) FastReadField2 ¶
func (p *GetTripResponse) FastReadField2(buf []byte) (int, error)
func (*GetTripResponse) FastWrite ¶
func (p *GetTripResponse) FastWrite(buf []byte) int
for compatibility
func (*GetTripResponse) FastWriteNocopy ¶
func (p *GetTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetTripResponse) Field1DeepEqual ¶
func (p *GetTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetTripResponse) Field2DeepEqual ¶
func (p *GetTripResponse) Field2DeepEqual(src *base.Trip) bool
func (*GetTripResponse) GetBaseResp ¶
func (p *GetTripResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetTripResponse) GetTrip ¶
func (p *GetTripResponse) GetTrip() (v *base.Trip)
func (*GetTripResponse) InitDefault ¶
func (p *GetTripResponse) InitDefault()
func (*GetTripResponse) IsSetBaseResp ¶
func (p *GetTripResponse) IsSetBaseResp() bool
func (*GetTripResponse) IsSetTrip ¶
func (p *GetTripResponse) IsSetTrip() bool
func (*GetTripResponse) ReadField1 ¶
func (p *GetTripResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetTripResponse) ReadField2 ¶
func (p *GetTripResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetTripResponse) SetBaseResp ¶
func (p *GetTripResponse) SetBaseResp(val *base.BaseResponse)
func (*GetTripResponse) SetTrip ¶
func (p *GetTripResponse) SetTrip(val *base.Trip)
func (*GetTripResponse) String ¶
func (p *GetTripResponse) String() string
type GetTripsRequest ¶
type GetTripsRequest struct { Status base.TripStatus `thrift:"status,1" frugal:"1,default,TripStatus" json:"status"` AccountId string `thrift:"account_id,2" frugal:"2,default,string" json:"account_id"` }
var TripServiceGetTripsArgs_Req_DEFAULT *GetTripsRequest
func NewGetTripsRequest ¶
func NewGetTripsRequest() *GetTripsRequest
func (*GetTripsRequest) BLength ¶
func (p *GetTripsRequest) BLength() int
func (*GetTripsRequest) DeepEqual ¶
func (p *GetTripsRequest) DeepEqual(ano *GetTripsRequest) bool
func (*GetTripsRequest) FastReadField1 ¶
func (p *GetTripsRequest) FastReadField1(buf []byte) (int, error)
func (*GetTripsRequest) FastReadField2 ¶
func (p *GetTripsRequest) FastReadField2(buf []byte) (int, error)
func (*GetTripsRequest) FastWrite ¶
func (p *GetTripsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetTripsRequest) FastWriteNocopy ¶
func (p *GetTripsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetTripsRequest) Field1DeepEqual ¶
func (p *GetTripsRequest) Field1DeepEqual(src base.TripStatus) bool
func (*GetTripsRequest) Field2DeepEqual ¶
func (p *GetTripsRequest) Field2DeepEqual(src string) bool
func (*GetTripsRequest) GetAccountId ¶
func (p *GetTripsRequest) GetAccountId() (v string)
func (*GetTripsRequest) GetStatus ¶
func (p *GetTripsRequest) GetStatus() (v base.TripStatus)
func (*GetTripsRequest) InitDefault ¶
func (p *GetTripsRequest) InitDefault()
func (*GetTripsRequest) ReadField1 ¶
func (p *GetTripsRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetTripsRequest) ReadField2 ¶
func (p *GetTripsRequest) ReadField2(iprot thrift.TProtocol) error
func (*GetTripsRequest) SetAccountId ¶
func (p *GetTripsRequest) SetAccountId(val string)
func (*GetTripsRequest) SetStatus ¶
func (p *GetTripsRequest) SetStatus(val base.TripStatus)
func (*GetTripsRequest) String ¶
func (p *GetTripsRequest) String() string
type GetTripsResponse ¶
type GetTripsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Trips []*base.TripEntity `thrift:"trips,2" frugal:"2,default,list<base.TripEntity>" json:"trips"` }
var TripServiceGetTripsResult_Success_DEFAULT *GetTripsResponse
func NewGetTripsResponse ¶
func NewGetTripsResponse() *GetTripsResponse
func (*GetTripsResponse) BLength ¶
func (p *GetTripsResponse) BLength() int
func (*GetTripsResponse) DeepEqual ¶
func (p *GetTripsResponse) DeepEqual(ano *GetTripsResponse) bool
func (*GetTripsResponse) FastReadField1 ¶
func (p *GetTripsResponse) FastReadField1(buf []byte) (int, error)
func (*GetTripsResponse) FastReadField2 ¶
func (p *GetTripsResponse) FastReadField2(buf []byte) (int, error)
func (*GetTripsResponse) FastWrite ¶
func (p *GetTripsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetTripsResponse) FastWriteNocopy ¶
func (p *GetTripsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetTripsResponse) Field1DeepEqual ¶
func (p *GetTripsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetTripsResponse) Field2DeepEqual ¶
func (p *GetTripsResponse) Field2DeepEqual(src []*base.TripEntity) bool
func (*GetTripsResponse) GetBaseResp ¶
func (p *GetTripsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetTripsResponse) GetTrips ¶
func (p *GetTripsResponse) GetTrips() (v []*base.TripEntity)
func (*GetTripsResponse) InitDefault ¶
func (p *GetTripsResponse) InitDefault()
func (*GetTripsResponse) IsSetBaseResp ¶
func (p *GetTripsResponse) IsSetBaseResp() bool
func (*GetTripsResponse) ReadField1 ¶
func (p *GetTripsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetTripsResponse) ReadField2 ¶
func (p *GetTripsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetTripsResponse) SetBaseResp ¶
func (p *GetTripsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetTripsResponse) SetTrips ¶
func (p *GetTripsResponse) SetTrips(val []*base.TripEntity)
func (*GetTripsResponse) String ¶
func (p *GetTripsResponse) String() string
type TripService ¶
type TripService interface { CreateTrip(ctx context.Context, req *CreateTripRequest) (r *CreateTripResponse, err error) GetTrip(ctx context.Context, req *GetTripRequest) (r *GetTripResponse, err error) GetTrips(ctx context.Context, req *GetTripsRequest) (r *GetTripsResponse, err error) UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *UpdateTripResponse, err error) GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *GetAllTripsResponse, err error) GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *GetSomeTripsResponse, err error) DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *DeleteTripResponse, err error) }
type TripServiceClient ¶
type TripServiceClient struct {
// contains filtered or unexported fields
}
func NewTripServiceClient ¶
func NewTripServiceClient(c thrift.TClient) *TripServiceClient
func NewTripServiceClientFactory ¶
func NewTripServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TripServiceClient
func NewTripServiceClientProtocol ¶
func NewTripServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TripServiceClient
func (*TripServiceClient) Client_ ¶
func (p *TripServiceClient) Client_() thrift.TClient
func (*TripServiceClient) CreateTrip ¶
func (p *TripServiceClient) CreateTrip(ctx context.Context, req *CreateTripRequest) (r *CreateTripResponse, err error)
func (*TripServiceClient) DeleteTrip ¶
func (p *TripServiceClient) DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *DeleteTripResponse, err error)
func (*TripServiceClient) GetAllTrips ¶
func (p *TripServiceClient) GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *GetAllTripsResponse, err error)
func (*TripServiceClient) GetSomeTrips ¶
func (p *TripServiceClient) GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *GetSomeTripsResponse, err error)
func (*TripServiceClient) GetTrip ¶
func (p *TripServiceClient) GetTrip(ctx context.Context, req *GetTripRequest) (r *GetTripResponse, err error)
func (*TripServiceClient) GetTrips ¶
func (p *TripServiceClient) GetTrips(ctx context.Context, req *GetTripsRequest) (r *GetTripsResponse, err error)
func (*TripServiceClient) UpdateTrip ¶
func (p *TripServiceClient) UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *UpdateTripResponse, err error)
type TripServiceCreateTripArgs ¶
type TripServiceCreateTripArgs struct {
Req *CreateTripRequest `thrift:"req,1" frugal:"1,default,CreateTripRequest" json:"req"`
}
func NewTripServiceCreateTripArgs ¶
func NewTripServiceCreateTripArgs() *TripServiceCreateTripArgs
func (*TripServiceCreateTripArgs) BLength ¶
func (p *TripServiceCreateTripArgs) BLength() int
func (*TripServiceCreateTripArgs) DeepEqual ¶
func (p *TripServiceCreateTripArgs) DeepEqual(ano *TripServiceCreateTripArgs) bool
func (*TripServiceCreateTripArgs) FastRead ¶
func (p *TripServiceCreateTripArgs) FastRead(buf []byte) (int, error)
func (*TripServiceCreateTripArgs) FastReadField1 ¶
func (p *TripServiceCreateTripArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceCreateTripArgs) FastWrite ¶
func (p *TripServiceCreateTripArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceCreateTripArgs) FastWriteNocopy ¶
func (p *TripServiceCreateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceCreateTripArgs) Field1DeepEqual ¶
func (p *TripServiceCreateTripArgs) Field1DeepEqual(src *CreateTripRequest) bool
func (*TripServiceCreateTripArgs) GetFirstArgument ¶
func (p *TripServiceCreateTripArgs) GetFirstArgument() interface{}
func (*TripServiceCreateTripArgs) GetReq ¶
func (p *TripServiceCreateTripArgs) GetReq() (v *CreateTripRequest)
func (*TripServiceCreateTripArgs) InitDefault ¶
func (p *TripServiceCreateTripArgs) InitDefault()
func (*TripServiceCreateTripArgs) IsSetReq ¶
func (p *TripServiceCreateTripArgs) IsSetReq() bool
func (*TripServiceCreateTripArgs) Read ¶
func (p *TripServiceCreateTripArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceCreateTripArgs) ReadField1 ¶
func (p *TripServiceCreateTripArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceCreateTripArgs) SetReq ¶
func (p *TripServiceCreateTripArgs) SetReq(val *CreateTripRequest)
func (*TripServiceCreateTripArgs) String ¶
func (p *TripServiceCreateTripArgs) String() string
type TripServiceCreateTripResult ¶
type TripServiceCreateTripResult struct {
Success *CreateTripResponse `thrift:"success,0,optional" frugal:"0,optional,CreateTripResponse" json:"success,omitempty"`
}
func NewTripServiceCreateTripResult ¶
func NewTripServiceCreateTripResult() *TripServiceCreateTripResult
func (*TripServiceCreateTripResult) BLength ¶
func (p *TripServiceCreateTripResult) BLength() int
func (*TripServiceCreateTripResult) DeepEqual ¶
func (p *TripServiceCreateTripResult) DeepEqual(ano *TripServiceCreateTripResult) bool
func (*TripServiceCreateTripResult) FastRead ¶
func (p *TripServiceCreateTripResult) FastRead(buf []byte) (int, error)
func (*TripServiceCreateTripResult) FastReadField0 ¶
func (p *TripServiceCreateTripResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceCreateTripResult) FastWrite ¶
func (p *TripServiceCreateTripResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceCreateTripResult) FastWriteNocopy ¶
func (p *TripServiceCreateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceCreateTripResult) Field0DeepEqual ¶
func (p *TripServiceCreateTripResult) Field0DeepEqual(src *CreateTripResponse) bool
func (*TripServiceCreateTripResult) GetResult ¶
func (p *TripServiceCreateTripResult) GetResult() interface{}
func (*TripServiceCreateTripResult) GetSuccess ¶
func (p *TripServiceCreateTripResult) GetSuccess() (v *CreateTripResponse)
func (*TripServiceCreateTripResult) InitDefault ¶
func (p *TripServiceCreateTripResult) InitDefault()
func (*TripServiceCreateTripResult) IsSetSuccess ¶
func (p *TripServiceCreateTripResult) IsSetSuccess() bool
func (*TripServiceCreateTripResult) Read ¶
func (p *TripServiceCreateTripResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceCreateTripResult) ReadField0 ¶
func (p *TripServiceCreateTripResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceCreateTripResult) SetSuccess ¶
func (p *TripServiceCreateTripResult) SetSuccess(x interface{})
func (*TripServiceCreateTripResult) String ¶
func (p *TripServiceCreateTripResult) String() string
type TripServiceDeleteTripArgs ¶
type TripServiceDeleteTripArgs struct {
Req *DeleteTripRequest `thrift:"req,1" frugal:"1,default,DeleteTripRequest" json:"req"`
}
func NewTripServiceDeleteTripArgs ¶
func NewTripServiceDeleteTripArgs() *TripServiceDeleteTripArgs
func (*TripServiceDeleteTripArgs) BLength ¶
func (p *TripServiceDeleteTripArgs) BLength() int
func (*TripServiceDeleteTripArgs) DeepEqual ¶
func (p *TripServiceDeleteTripArgs) DeepEqual(ano *TripServiceDeleteTripArgs) bool
func (*TripServiceDeleteTripArgs) FastRead ¶
func (p *TripServiceDeleteTripArgs) FastRead(buf []byte) (int, error)
func (*TripServiceDeleteTripArgs) FastReadField1 ¶
func (p *TripServiceDeleteTripArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceDeleteTripArgs) FastWrite ¶
func (p *TripServiceDeleteTripArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceDeleteTripArgs) FastWriteNocopy ¶
func (p *TripServiceDeleteTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceDeleteTripArgs) Field1DeepEqual ¶
func (p *TripServiceDeleteTripArgs) Field1DeepEqual(src *DeleteTripRequest) bool
func (*TripServiceDeleteTripArgs) GetFirstArgument ¶
func (p *TripServiceDeleteTripArgs) GetFirstArgument() interface{}
func (*TripServiceDeleteTripArgs) GetReq ¶
func (p *TripServiceDeleteTripArgs) GetReq() (v *DeleteTripRequest)
func (*TripServiceDeleteTripArgs) InitDefault ¶
func (p *TripServiceDeleteTripArgs) InitDefault()
func (*TripServiceDeleteTripArgs) IsSetReq ¶
func (p *TripServiceDeleteTripArgs) IsSetReq() bool
func (*TripServiceDeleteTripArgs) Read ¶
func (p *TripServiceDeleteTripArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceDeleteTripArgs) ReadField1 ¶
func (p *TripServiceDeleteTripArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceDeleteTripArgs) SetReq ¶
func (p *TripServiceDeleteTripArgs) SetReq(val *DeleteTripRequest)
func (*TripServiceDeleteTripArgs) String ¶
func (p *TripServiceDeleteTripArgs) String() string
type TripServiceDeleteTripResult ¶
type TripServiceDeleteTripResult struct {
Success *DeleteTripResponse `thrift:"success,0,optional" frugal:"0,optional,DeleteTripResponse" json:"success,omitempty"`
}
func NewTripServiceDeleteTripResult ¶
func NewTripServiceDeleteTripResult() *TripServiceDeleteTripResult
func (*TripServiceDeleteTripResult) BLength ¶
func (p *TripServiceDeleteTripResult) BLength() int
func (*TripServiceDeleteTripResult) DeepEqual ¶
func (p *TripServiceDeleteTripResult) DeepEqual(ano *TripServiceDeleteTripResult) bool
func (*TripServiceDeleteTripResult) FastRead ¶
func (p *TripServiceDeleteTripResult) FastRead(buf []byte) (int, error)
func (*TripServiceDeleteTripResult) FastReadField0 ¶
func (p *TripServiceDeleteTripResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceDeleteTripResult) FastWrite ¶
func (p *TripServiceDeleteTripResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceDeleteTripResult) FastWriteNocopy ¶
func (p *TripServiceDeleteTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceDeleteTripResult) Field0DeepEqual ¶
func (p *TripServiceDeleteTripResult) Field0DeepEqual(src *DeleteTripResponse) bool
func (*TripServiceDeleteTripResult) GetResult ¶
func (p *TripServiceDeleteTripResult) GetResult() interface{}
func (*TripServiceDeleteTripResult) GetSuccess ¶
func (p *TripServiceDeleteTripResult) GetSuccess() (v *DeleteTripResponse)
func (*TripServiceDeleteTripResult) InitDefault ¶
func (p *TripServiceDeleteTripResult) InitDefault()
func (*TripServiceDeleteTripResult) IsSetSuccess ¶
func (p *TripServiceDeleteTripResult) IsSetSuccess() bool
func (*TripServiceDeleteTripResult) Read ¶
func (p *TripServiceDeleteTripResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceDeleteTripResult) ReadField0 ¶
func (p *TripServiceDeleteTripResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceDeleteTripResult) SetSuccess ¶
func (p *TripServiceDeleteTripResult) SetSuccess(x interface{})
func (*TripServiceDeleteTripResult) String ¶
func (p *TripServiceDeleteTripResult) String() string
type TripServiceGetAllTripsArgs ¶
type TripServiceGetAllTripsArgs struct {
Req *GetAllTripsRequest `thrift:"req,1" frugal:"1,default,GetAllTripsRequest" json:"req"`
}
func NewTripServiceGetAllTripsArgs ¶
func NewTripServiceGetAllTripsArgs() *TripServiceGetAllTripsArgs
func (*TripServiceGetAllTripsArgs) BLength ¶
func (p *TripServiceGetAllTripsArgs) BLength() int
func (*TripServiceGetAllTripsArgs) DeepEqual ¶
func (p *TripServiceGetAllTripsArgs) DeepEqual(ano *TripServiceGetAllTripsArgs) bool
func (*TripServiceGetAllTripsArgs) FastRead ¶
func (p *TripServiceGetAllTripsArgs) FastRead(buf []byte) (int, error)
func (*TripServiceGetAllTripsArgs) FastReadField1 ¶
func (p *TripServiceGetAllTripsArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceGetAllTripsArgs) FastWrite ¶
func (p *TripServiceGetAllTripsArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetAllTripsArgs) FastWriteNocopy ¶
func (p *TripServiceGetAllTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetAllTripsArgs) Field1DeepEqual ¶
func (p *TripServiceGetAllTripsArgs) Field1DeepEqual(src *GetAllTripsRequest) bool
func (*TripServiceGetAllTripsArgs) GetFirstArgument ¶
func (p *TripServiceGetAllTripsArgs) GetFirstArgument() interface{}
func (*TripServiceGetAllTripsArgs) GetReq ¶
func (p *TripServiceGetAllTripsArgs) GetReq() (v *GetAllTripsRequest)
func (*TripServiceGetAllTripsArgs) InitDefault ¶
func (p *TripServiceGetAllTripsArgs) InitDefault()
func (*TripServiceGetAllTripsArgs) IsSetReq ¶
func (p *TripServiceGetAllTripsArgs) IsSetReq() bool
func (*TripServiceGetAllTripsArgs) Read ¶
func (p *TripServiceGetAllTripsArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetAllTripsArgs) ReadField1 ¶
func (p *TripServiceGetAllTripsArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceGetAllTripsArgs) SetReq ¶
func (p *TripServiceGetAllTripsArgs) SetReq(val *GetAllTripsRequest)
func (*TripServiceGetAllTripsArgs) String ¶
func (p *TripServiceGetAllTripsArgs) String() string
type TripServiceGetAllTripsResult ¶
type TripServiceGetAllTripsResult struct {
Success *GetAllTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetAllTripsResponse" json:"success,omitempty"`
}
func NewTripServiceGetAllTripsResult ¶
func NewTripServiceGetAllTripsResult() *TripServiceGetAllTripsResult
func (*TripServiceGetAllTripsResult) BLength ¶
func (p *TripServiceGetAllTripsResult) BLength() int
func (*TripServiceGetAllTripsResult) DeepEqual ¶
func (p *TripServiceGetAllTripsResult) DeepEqual(ano *TripServiceGetAllTripsResult) bool
func (*TripServiceGetAllTripsResult) FastRead ¶
func (p *TripServiceGetAllTripsResult) FastRead(buf []byte) (int, error)
func (*TripServiceGetAllTripsResult) FastReadField0 ¶
func (p *TripServiceGetAllTripsResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceGetAllTripsResult) FastWrite ¶
func (p *TripServiceGetAllTripsResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetAllTripsResult) FastWriteNocopy ¶
func (p *TripServiceGetAllTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetAllTripsResult) Field0DeepEqual ¶
func (p *TripServiceGetAllTripsResult) Field0DeepEqual(src *GetAllTripsResponse) bool
func (*TripServiceGetAllTripsResult) GetResult ¶
func (p *TripServiceGetAllTripsResult) GetResult() interface{}
func (*TripServiceGetAllTripsResult) GetSuccess ¶
func (p *TripServiceGetAllTripsResult) GetSuccess() (v *GetAllTripsResponse)
func (*TripServiceGetAllTripsResult) InitDefault ¶
func (p *TripServiceGetAllTripsResult) InitDefault()
func (*TripServiceGetAllTripsResult) IsSetSuccess ¶
func (p *TripServiceGetAllTripsResult) IsSetSuccess() bool
func (*TripServiceGetAllTripsResult) Read ¶
func (p *TripServiceGetAllTripsResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetAllTripsResult) ReadField0 ¶
func (p *TripServiceGetAllTripsResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceGetAllTripsResult) SetSuccess ¶
func (p *TripServiceGetAllTripsResult) SetSuccess(x interface{})
func (*TripServiceGetAllTripsResult) String ¶
func (p *TripServiceGetAllTripsResult) String() string
type TripServiceGetSomeTripsArgs ¶
type TripServiceGetSomeTripsArgs struct {
Req *GetSomeTripsRequest `thrift:"req,1" frugal:"1,default,GetSomeTripsRequest" json:"req"`
}
func NewTripServiceGetSomeTripsArgs ¶
func NewTripServiceGetSomeTripsArgs() *TripServiceGetSomeTripsArgs
func (*TripServiceGetSomeTripsArgs) BLength ¶
func (p *TripServiceGetSomeTripsArgs) BLength() int
func (*TripServiceGetSomeTripsArgs) DeepEqual ¶
func (p *TripServiceGetSomeTripsArgs) DeepEqual(ano *TripServiceGetSomeTripsArgs) bool
func (*TripServiceGetSomeTripsArgs) FastRead ¶
func (p *TripServiceGetSomeTripsArgs) FastRead(buf []byte) (int, error)
func (*TripServiceGetSomeTripsArgs) FastReadField1 ¶
func (p *TripServiceGetSomeTripsArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceGetSomeTripsArgs) FastWrite ¶
func (p *TripServiceGetSomeTripsArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetSomeTripsArgs) FastWriteNocopy ¶
func (p *TripServiceGetSomeTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetSomeTripsArgs) Field1DeepEqual ¶
func (p *TripServiceGetSomeTripsArgs) Field1DeepEqual(src *GetSomeTripsRequest) bool
func (*TripServiceGetSomeTripsArgs) GetFirstArgument ¶
func (p *TripServiceGetSomeTripsArgs) GetFirstArgument() interface{}
func (*TripServiceGetSomeTripsArgs) GetReq ¶
func (p *TripServiceGetSomeTripsArgs) GetReq() (v *GetSomeTripsRequest)
func (*TripServiceGetSomeTripsArgs) InitDefault ¶
func (p *TripServiceGetSomeTripsArgs) InitDefault()
func (*TripServiceGetSomeTripsArgs) IsSetReq ¶
func (p *TripServiceGetSomeTripsArgs) IsSetReq() bool
func (*TripServiceGetSomeTripsArgs) Read ¶
func (p *TripServiceGetSomeTripsArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetSomeTripsArgs) ReadField1 ¶
func (p *TripServiceGetSomeTripsArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceGetSomeTripsArgs) SetReq ¶
func (p *TripServiceGetSomeTripsArgs) SetReq(val *GetSomeTripsRequest)
func (*TripServiceGetSomeTripsArgs) String ¶
func (p *TripServiceGetSomeTripsArgs) String() string
type TripServiceGetSomeTripsResult ¶
type TripServiceGetSomeTripsResult struct {
Success *GetSomeTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetSomeTripsResponse" json:"success,omitempty"`
}
func NewTripServiceGetSomeTripsResult ¶
func NewTripServiceGetSomeTripsResult() *TripServiceGetSomeTripsResult
func (*TripServiceGetSomeTripsResult) BLength ¶
func (p *TripServiceGetSomeTripsResult) BLength() int
func (*TripServiceGetSomeTripsResult) DeepEqual ¶
func (p *TripServiceGetSomeTripsResult) DeepEqual(ano *TripServiceGetSomeTripsResult) bool
func (*TripServiceGetSomeTripsResult) FastRead ¶
func (p *TripServiceGetSomeTripsResult) FastRead(buf []byte) (int, error)
func (*TripServiceGetSomeTripsResult) FastReadField0 ¶
func (p *TripServiceGetSomeTripsResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceGetSomeTripsResult) FastWrite ¶
func (p *TripServiceGetSomeTripsResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetSomeTripsResult) FastWriteNocopy ¶
func (p *TripServiceGetSomeTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetSomeTripsResult) Field0DeepEqual ¶
func (p *TripServiceGetSomeTripsResult) Field0DeepEqual(src *GetSomeTripsResponse) bool
func (*TripServiceGetSomeTripsResult) GetResult ¶
func (p *TripServiceGetSomeTripsResult) GetResult() interface{}
func (*TripServiceGetSomeTripsResult) GetSuccess ¶
func (p *TripServiceGetSomeTripsResult) GetSuccess() (v *GetSomeTripsResponse)
func (*TripServiceGetSomeTripsResult) InitDefault ¶
func (p *TripServiceGetSomeTripsResult) InitDefault()
func (*TripServiceGetSomeTripsResult) IsSetSuccess ¶
func (p *TripServiceGetSomeTripsResult) IsSetSuccess() bool
func (*TripServiceGetSomeTripsResult) Read ¶
func (p *TripServiceGetSomeTripsResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetSomeTripsResult) ReadField0 ¶
func (p *TripServiceGetSomeTripsResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceGetSomeTripsResult) SetSuccess ¶
func (p *TripServiceGetSomeTripsResult) SetSuccess(x interface{})
func (*TripServiceGetSomeTripsResult) String ¶
func (p *TripServiceGetSomeTripsResult) String() string
type TripServiceGetTripArgs ¶
type TripServiceGetTripArgs struct {
Req *GetTripRequest `thrift:"req,1" frugal:"1,default,GetTripRequest" json:"req"`
}
func NewTripServiceGetTripArgs ¶
func NewTripServiceGetTripArgs() *TripServiceGetTripArgs
func (*TripServiceGetTripArgs) BLength ¶
func (p *TripServiceGetTripArgs) BLength() int
func (*TripServiceGetTripArgs) DeepEqual ¶
func (p *TripServiceGetTripArgs) DeepEqual(ano *TripServiceGetTripArgs) bool
func (*TripServiceGetTripArgs) FastRead ¶
func (p *TripServiceGetTripArgs) FastRead(buf []byte) (int, error)
func (*TripServiceGetTripArgs) FastReadField1 ¶
func (p *TripServiceGetTripArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceGetTripArgs) FastWrite ¶
func (p *TripServiceGetTripArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetTripArgs) FastWriteNocopy ¶
func (p *TripServiceGetTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetTripArgs) Field1DeepEqual ¶
func (p *TripServiceGetTripArgs) Field1DeepEqual(src *GetTripRequest) bool
func (*TripServiceGetTripArgs) GetFirstArgument ¶
func (p *TripServiceGetTripArgs) GetFirstArgument() interface{}
func (*TripServiceGetTripArgs) GetReq ¶
func (p *TripServiceGetTripArgs) GetReq() (v *GetTripRequest)
func (*TripServiceGetTripArgs) InitDefault ¶
func (p *TripServiceGetTripArgs) InitDefault()
func (*TripServiceGetTripArgs) IsSetReq ¶
func (p *TripServiceGetTripArgs) IsSetReq() bool
func (*TripServiceGetTripArgs) Read ¶
func (p *TripServiceGetTripArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetTripArgs) ReadField1 ¶
func (p *TripServiceGetTripArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceGetTripArgs) SetReq ¶
func (p *TripServiceGetTripArgs) SetReq(val *GetTripRequest)
func (*TripServiceGetTripArgs) String ¶
func (p *TripServiceGetTripArgs) String() string
type TripServiceGetTripResult ¶
type TripServiceGetTripResult struct {
Success *GetTripResponse `thrift:"success,0,optional" frugal:"0,optional,GetTripResponse" json:"success,omitempty"`
}
func NewTripServiceGetTripResult ¶
func NewTripServiceGetTripResult() *TripServiceGetTripResult
func (*TripServiceGetTripResult) BLength ¶
func (p *TripServiceGetTripResult) BLength() int
func (*TripServiceGetTripResult) DeepEqual ¶
func (p *TripServiceGetTripResult) DeepEqual(ano *TripServiceGetTripResult) bool
func (*TripServiceGetTripResult) FastRead ¶
func (p *TripServiceGetTripResult) FastRead(buf []byte) (int, error)
func (*TripServiceGetTripResult) FastReadField0 ¶
func (p *TripServiceGetTripResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceGetTripResult) FastWrite ¶
func (p *TripServiceGetTripResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetTripResult) FastWriteNocopy ¶
func (p *TripServiceGetTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetTripResult) Field0DeepEqual ¶
func (p *TripServiceGetTripResult) Field0DeepEqual(src *GetTripResponse) bool
func (*TripServiceGetTripResult) GetResult ¶
func (p *TripServiceGetTripResult) GetResult() interface{}
func (*TripServiceGetTripResult) GetSuccess ¶
func (p *TripServiceGetTripResult) GetSuccess() (v *GetTripResponse)
func (*TripServiceGetTripResult) InitDefault ¶
func (p *TripServiceGetTripResult) InitDefault()
func (*TripServiceGetTripResult) IsSetSuccess ¶
func (p *TripServiceGetTripResult) IsSetSuccess() bool
func (*TripServiceGetTripResult) Read ¶
func (p *TripServiceGetTripResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetTripResult) ReadField0 ¶
func (p *TripServiceGetTripResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceGetTripResult) SetSuccess ¶
func (p *TripServiceGetTripResult) SetSuccess(x interface{})
func (*TripServiceGetTripResult) String ¶
func (p *TripServiceGetTripResult) String() string
type TripServiceGetTripsArgs ¶
type TripServiceGetTripsArgs struct {
Req *GetTripsRequest `thrift:"req,1" frugal:"1,default,GetTripsRequest" json:"req"`
}
func NewTripServiceGetTripsArgs ¶
func NewTripServiceGetTripsArgs() *TripServiceGetTripsArgs
func (*TripServiceGetTripsArgs) BLength ¶
func (p *TripServiceGetTripsArgs) BLength() int
func (*TripServiceGetTripsArgs) DeepEqual ¶
func (p *TripServiceGetTripsArgs) DeepEqual(ano *TripServiceGetTripsArgs) bool
func (*TripServiceGetTripsArgs) FastRead ¶
func (p *TripServiceGetTripsArgs) FastRead(buf []byte) (int, error)
func (*TripServiceGetTripsArgs) FastReadField1 ¶
func (p *TripServiceGetTripsArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceGetTripsArgs) FastWrite ¶
func (p *TripServiceGetTripsArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetTripsArgs) FastWriteNocopy ¶
func (p *TripServiceGetTripsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetTripsArgs) Field1DeepEqual ¶
func (p *TripServiceGetTripsArgs) Field1DeepEqual(src *GetTripsRequest) bool
func (*TripServiceGetTripsArgs) GetFirstArgument ¶
func (p *TripServiceGetTripsArgs) GetFirstArgument() interface{}
func (*TripServiceGetTripsArgs) GetReq ¶
func (p *TripServiceGetTripsArgs) GetReq() (v *GetTripsRequest)
func (*TripServiceGetTripsArgs) InitDefault ¶
func (p *TripServiceGetTripsArgs) InitDefault()
func (*TripServiceGetTripsArgs) IsSetReq ¶
func (p *TripServiceGetTripsArgs) IsSetReq() bool
func (*TripServiceGetTripsArgs) Read ¶
func (p *TripServiceGetTripsArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetTripsArgs) ReadField1 ¶
func (p *TripServiceGetTripsArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceGetTripsArgs) SetReq ¶
func (p *TripServiceGetTripsArgs) SetReq(val *GetTripsRequest)
func (*TripServiceGetTripsArgs) String ¶
func (p *TripServiceGetTripsArgs) String() string
type TripServiceGetTripsResult ¶
type TripServiceGetTripsResult struct {
Success *GetTripsResponse `thrift:"success,0,optional" frugal:"0,optional,GetTripsResponse" json:"success,omitempty"`
}
func NewTripServiceGetTripsResult ¶
func NewTripServiceGetTripsResult() *TripServiceGetTripsResult
func (*TripServiceGetTripsResult) BLength ¶
func (p *TripServiceGetTripsResult) BLength() int
func (*TripServiceGetTripsResult) DeepEqual ¶
func (p *TripServiceGetTripsResult) DeepEqual(ano *TripServiceGetTripsResult) bool
func (*TripServiceGetTripsResult) FastRead ¶
func (p *TripServiceGetTripsResult) FastRead(buf []byte) (int, error)
func (*TripServiceGetTripsResult) FastReadField0 ¶
func (p *TripServiceGetTripsResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceGetTripsResult) FastWrite ¶
func (p *TripServiceGetTripsResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceGetTripsResult) FastWriteNocopy ¶
func (p *TripServiceGetTripsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceGetTripsResult) Field0DeepEqual ¶
func (p *TripServiceGetTripsResult) Field0DeepEqual(src *GetTripsResponse) bool
func (*TripServiceGetTripsResult) GetResult ¶
func (p *TripServiceGetTripsResult) GetResult() interface{}
func (*TripServiceGetTripsResult) GetSuccess ¶
func (p *TripServiceGetTripsResult) GetSuccess() (v *GetTripsResponse)
func (*TripServiceGetTripsResult) InitDefault ¶
func (p *TripServiceGetTripsResult) InitDefault()
func (*TripServiceGetTripsResult) IsSetSuccess ¶
func (p *TripServiceGetTripsResult) IsSetSuccess() bool
func (*TripServiceGetTripsResult) Read ¶
func (p *TripServiceGetTripsResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceGetTripsResult) ReadField0 ¶
func (p *TripServiceGetTripsResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceGetTripsResult) SetSuccess ¶
func (p *TripServiceGetTripsResult) SetSuccess(x interface{})
func (*TripServiceGetTripsResult) String ¶
func (p *TripServiceGetTripsResult) String() string
type TripServiceProcessor ¶
type TripServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTripServiceProcessor ¶
func NewTripServiceProcessor(handler TripService) *TripServiceProcessor
func (*TripServiceProcessor) AddToProcessorMap ¶
func (p *TripServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TripServiceProcessor) GetProcessorFunction ¶
func (p *TripServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TripServiceProcessor) Process ¶
func (p *TripServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TripServiceProcessor) ProcessorMap ¶
func (p *TripServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TripServiceUpdateTripArgs ¶
type TripServiceUpdateTripArgs struct {
Req *UpdateTripRequest `thrift:"req,1" frugal:"1,default,UpdateTripRequest" json:"req"`
}
func NewTripServiceUpdateTripArgs ¶
func NewTripServiceUpdateTripArgs() *TripServiceUpdateTripArgs
func (*TripServiceUpdateTripArgs) BLength ¶
func (p *TripServiceUpdateTripArgs) BLength() int
func (*TripServiceUpdateTripArgs) DeepEqual ¶
func (p *TripServiceUpdateTripArgs) DeepEqual(ano *TripServiceUpdateTripArgs) bool
func (*TripServiceUpdateTripArgs) FastRead ¶
func (p *TripServiceUpdateTripArgs) FastRead(buf []byte) (int, error)
func (*TripServiceUpdateTripArgs) FastReadField1 ¶
func (p *TripServiceUpdateTripArgs) FastReadField1(buf []byte) (int, error)
func (*TripServiceUpdateTripArgs) FastWrite ¶
func (p *TripServiceUpdateTripArgs) FastWrite(buf []byte) int
for compatibility
func (*TripServiceUpdateTripArgs) FastWriteNocopy ¶
func (p *TripServiceUpdateTripArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceUpdateTripArgs) Field1DeepEqual ¶
func (p *TripServiceUpdateTripArgs) Field1DeepEqual(src *UpdateTripRequest) bool
func (*TripServiceUpdateTripArgs) GetFirstArgument ¶
func (p *TripServiceUpdateTripArgs) GetFirstArgument() interface{}
func (*TripServiceUpdateTripArgs) GetReq ¶
func (p *TripServiceUpdateTripArgs) GetReq() (v *UpdateTripRequest)
func (*TripServiceUpdateTripArgs) InitDefault ¶
func (p *TripServiceUpdateTripArgs) InitDefault()
func (*TripServiceUpdateTripArgs) IsSetReq ¶
func (p *TripServiceUpdateTripArgs) IsSetReq() bool
func (*TripServiceUpdateTripArgs) Read ¶
func (p *TripServiceUpdateTripArgs) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceUpdateTripArgs) ReadField1 ¶
func (p *TripServiceUpdateTripArgs) ReadField1(iprot thrift.TProtocol) error
func (*TripServiceUpdateTripArgs) SetReq ¶
func (p *TripServiceUpdateTripArgs) SetReq(val *UpdateTripRequest)
func (*TripServiceUpdateTripArgs) String ¶
func (p *TripServiceUpdateTripArgs) String() string
type TripServiceUpdateTripResult ¶
type TripServiceUpdateTripResult struct {
Success *UpdateTripResponse `thrift:"success,0,optional" frugal:"0,optional,UpdateTripResponse" json:"success,omitempty"`
}
func NewTripServiceUpdateTripResult ¶
func NewTripServiceUpdateTripResult() *TripServiceUpdateTripResult
func (*TripServiceUpdateTripResult) BLength ¶
func (p *TripServiceUpdateTripResult) BLength() int
func (*TripServiceUpdateTripResult) DeepEqual ¶
func (p *TripServiceUpdateTripResult) DeepEqual(ano *TripServiceUpdateTripResult) bool
func (*TripServiceUpdateTripResult) FastRead ¶
func (p *TripServiceUpdateTripResult) FastRead(buf []byte) (int, error)
func (*TripServiceUpdateTripResult) FastReadField0 ¶
func (p *TripServiceUpdateTripResult) FastReadField0(buf []byte) (int, error)
func (*TripServiceUpdateTripResult) FastWrite ¶
func (p *TripServiceUpdateTripResult) FastWrite(buf []byte) int
for compatibility
func (*TripServiceUpdateTripResult) FastWriteNocopy ¶
func (p *TripServiceUpdateTripResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TripServiceUpdateTripResult) Field0DeepEqual ¶
func (p *TripServiceUpdateTripResult) Field0DeepEqual(src *UpdateTripResponse) bool
func (*TripServiceUpdateTripResult) GetResult ¶
func (p *TripServiceUpdateTripResult) GetResult() interface{}
func (*TripServiceUpdateTripResult) GetSuccess ¶
func (p *TripServiceUpdateTripResult) GetSuccess() (v *UpdateTripResponse)
func (*TripServiceUpdateTripResult) InitDefault ¶
func (p *TripServiceUpdateTripResult) InitDefault()
func (*TripServiceUpdateTripResult) IsSetSuccess ¶
func (p *TripServiceUpdateTripResult) IsSetSuccess() bool
func (*TripServiceUpdateTripResult) Read ¶
func (p *TripServiceUpdateTripResult) Read(iprot thrift.TProtocol) (err error)
func (*TripServiceUpdateTripResult) ReadField0 ¶
func (p *TripServiceUpdateTripResult) ReadField0(iprot thrift.TProtocol) error
func (*TripServiceUpdateTripResult) SetSuccess ¶
func (p *TripServiceUpdateTripResult) SetSuccess(x interface{})
func (*TripServiceUpdateTripResult) String ¶
func (p *TripServiceUpdateTripResult) String() string
type UpdateTripRequest ¶
type UpdateTripRequest struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` Current *base.Location `thrift:"current,2" frugal:"2,default,base.Location" json:"current"` EndTrip bool `thrift:"end_trip,3" frugal:"3,default,bool" json:"end_trip"` AccountId string `thrift:"account_id,4" frugal:"4,default,string" json:"account_id"` }
var TripServiceUpdateTripArgs_Req_DEFAULT *UpdateTripRequest
func NewUpdateTripRequest ¶
func NewUpdateTripRequest() *UpdateTripRequest
func (*UpdateTripRequest) BLength ¶
func (p *UpdateTripRequest) BLength() int
func (*UpdateTripRequest) DeepEqual ¶
func (p *UpdateTripRequest) DeepEqual(ano *UpdateTripRequest) bool
func (*UpdateTripRequest) FastReadField1 ¶
func (p *UpdateTripRequest) FastReadField1(buf []byte) (int, error)
func (*UpdateTripRequest) FastReadField2 ¶
func (p *UpdateTripRequest) FastReadField2(buf []byte) (int, error)
func (*UpdateTripRequest) FastReadField3 ¶
func (p *UpdateTripRequest) FastReadField3(buf []byte) (int, error)
func (*UpdateTripRequest) FastReadField4 ¶
func (p *UpdateTripRequest) FastReadField4(buf []byte) (int, error)
func (*UpdateTripRequest) FastWrite ¶
func (p *UpdateTripRequest) FastWrite(buf []byte) int
for compatibility
func (*UpdateTripRequest) FastWriteNocopy ¶
func (p *UpdateTripRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateTripRequest) Field1DeepEqual ¶
func (p *UpdateTripRequest) Field1DeepEqual(src string) bool
func (*UpdateTripRequest) Field2DeepEqual ¶
func (p *UpdateTripRequest) Field2DeepEqual(src *base.Location) bool
func (*UpdateTripRequest) Field3DeepEqual ¶
func (p *UpdateTripRequest) Field3DeepEqual(src bool) bool
func (*UpdateTripRequest) Field4DeepEqual ¶
func (p *UpdateTripRequest) Field4DeepEqual(src string) bool
func (*UpdateTripRequest) GetAccountId ¶
func (p *UpdateTripRequest) GetAccountId() (v string)
func (*UpdateTripRequest) GetCurrent ¶
func (p *UpdateTripRequest) GetCurrent() (v *base.Location)
func (*UpdateTripRequest) GetEndTrip ¶
func (p *UpdateTripRequest) GetEndTrip() (v bool)
func (*UpdateTripRequest) GetId ¶
func (p *UpdateTripRequest) GetId() (v string)
func (*UpdateTripRequest) InitDefault ¶
func (p *UpdateTripRequest) InitDefault()
func (*UpdateTripRequest) IsSetCurrent ¶
func (p *UpdateTripRequest) IsSetCurrent() bool
func (*UpdateTripRequest) Read ¶
func (p *UpdateTripRequest) Read(iprot thrift.TProtocol) (err error)
func (*UpdateTripRequest) ReadField1 ¶
func (p *UpdateTripRequest) ReadField1(iprot thrift.TProtocol) error
func (*UpdateTripRequest) ReadField2 ¶
func (p *UpdateTripRequest) ReadField2(iprot thrift.TProtocol) error
func (*UpdateTripRequest) ReadField3 ¶
func (p *UpdateTripRequest) ReadField3(iprot thrift.TProtocol) error
func (*UpdateTripRequest) ReadField4 ¶
func (p *UpdateTripRequest) ReadField4(iprot thrift.TProtocol) error
func (*UpdateTripRequest) SetAccountId ¶
func (p *UpdateTripRequest) SetAccountId(val string)
func (*UpdateTripRequest) SetCurrent ¶
func (p *UpdateTripRequest) SetCurrent(val *base.Location)
func (*UpdateTripRequest) SetEndTrip ¶
func (p *UpdateTripRequest) SetEndTrip(val bool)
func (*UpdateTripRequest) SetId ¶
func (p *UpdateTripRequest) SetId(val string)
func (*UpdateTripRequest) String ¶
func (p *UpdateTripRequest) String() string
type UpdateTripResponse ¶
type UpdateTripResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Trip *base.Trip `thrift:"trip,2" frugal:"2,default,base.Trip" json:"trip"` }
var TripServiceUpdateTripResult_Success_DEFAULT *UpdateTripResponse
func NewUpdateTripResponse ¶
func NewUpdateTripResponse() *UpdateTripResponse
func (*UpdateTripResponse) BLength ¶
func (p *UpdateTripResponse) BLength() int
func (*UpdateTripResponse) DeepEqual ¶
func (p *UpdateTripResponse) DeepEqual(ano *UpdateTripResponse) bool
func (*UpdateTripResponse) FastRead ¶
func (p *UpdateTripResponse) FastRead(buf []byte) (int, error)
func (*UpdateTripResponse) FastReadField1 ¶
func (p *UpdateTripResponse) FastReadField1(buf []byte) (int, error)
func (*UpdateTripResponse) FastReadField2 ¶
func (p *UpdateTripResponse) FastReadField2(buf []byte) (int, error)
func (*UpdateTripResponse) FastWrite ¶
func (p *UpdateTripResponse) FastWrite(buf []byte) int
for compatibility
func (*UpdateTripResponse) FastWriteNocopy ¶
func (p *UpdateTripResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateTripResponse) Field1DeepEqual ¶
func (p *UpdateTripResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*UpdateTripResponse) Field2DeepEqual ¶
func (p *UpdateTripResponse) Field2DeepEqual(src *base.Trip) bool
func (*UpdateTripResponse) GetBaseResp ¶
func (p *UpdateTripResponse) GetBaseResp() (v *base.BaseResponse)
func (*UpdateTripResponse) GetTrip ¶
func (p *UpdateTripResponse) GetTrip() (v *base.Trip)
func (*UpdateTripResponse) InitDefault ¶
func (p *UpdateTripResponse) InitDefault()
func (*UpdateTripResponse) IsSetBaseResp ¶
func (p *UpdateTripResponse) IsSetBaseResp() bool
func (*UpdateTripResponse) IsSetTrip ¶
func (p *UpdateTripResponse) IsSetTrip() bool
func (*UpdateTripResponse) Read ¶
func (p *UpdateTripResponse) Read(iprot thrift.TProtocol) (err error)
func (*UpdateTripResponse) ReadField1 ¶
func (p *UpdateTripResponse) ReadField1(iprot thrift.TProtocol) error
func (*UpdateTripResponse) ReadField2 ¶
func (p *UpdateTripResponse) ReadField2(iprot thrift.TProtocol) error
func (*UpdateTripResponse) SetBaseResp ¶
func (p *UpdateTripResponse) SetBaseResp(val *base.BaseResponse)
func (*UpdateTripResponse) SetTrip ¶
func (p *UpdateTripResponse) SetTrip(val *base.Trip)
func (*UpdateTripResponse) String ¶
func (p *UpdateTripResponse) String() string
Click to show internal directories.
Click to hide internal directories.