Documentation ¶
Index ¶
- Variables
- type AdminUpdateCarRequest
- func (p *AdminUpdateCarRequest) BLength() int
- func (p *AdminUpdateCarRequest) DeepEqual(ano *AdminUpdateCarRequest) bool
- func (p *AdminUpdateCarRequest) FastRead(buf []byte) (int, error)
- func (p *AdminUpdateCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *AdminUpdateCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *AdminUpdateCarRequest) FastWrite(buf []byte) int
- func (p *AdminUpdateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdminUpdateCarRequest) Field1DeepEqual(src string) bool
- func (p *AdminUpdateCarRequest) Field2DeepEqual(src *base.Car) bool
- func (p *AdminUpdateCarRequest) GetCar() (v *base.Car)
- func (p *AdminUpdateCarRequest) GetId() (v string)
- func (p *AdminUpdateCarRequest) InitDefault()
- func (p *AdminUpdateCarRequest) IsSetCar() bool
- func (p *AdminUpdateCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *AdminUpdateCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *AdminUpdateCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *AdminUpdateCarRequest) SetCar(val *base.Car)
- func (p *AdminUpdateCarRequest) SetId(val string)
- func (p *AdminUpdateCarRequest) String() string
- func (p *AdminUpdateCarRequest) Write(oprot thrift.TProtocol) (err error)
- type AdminUpdateCarResponse
- func (p *AdminUpdateCarResponse) BLength() int
- func (p *AdminUpdateCarResponse) DeepEqual(ano *AdminUpdateCarResponse) bool
- func (p *AdminUpdateCarResponse) FastRead(buf []byte) (int, error)
- func (p *AdminUpdateCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *AdminUpdateCarResponse) FastWrite(buf []byte) int
- func (p *AdminUpdateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AdminUpdateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *AdminUpdateCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *AdminUpdateCarResponse) InitDefault()
- func (p *AdminUpdateCarResponse) IsSetBaseResp() bool
- func (p *AdminUpdateCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *AdminUpdateCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *AdminUpdateCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *AdminUpdateCarResponse) String() string
- func (p *AdminUpdateCarResponse) Write(oprot thrift.TProtocol) (err error)
- type CarService
- type CarServiceAdminUpdateCarArgs
- func (p *CarServiceAdminUpdateCarArgs) BLength() int
- func (p *CarServiceAdminUpdateCarArgs) DeepEqual(ano *CarServiceAdminUpdateCarArgs) bool
- func (p *CarServiceAdminUpdateCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceAdminUpdateCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceAdminUpdateCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceAdminUpdateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceAdminUpdateCarArgs) Field1DeepEqual(src *AdminUpdateCarRequest) bool
- func (p *CarServiceAdminUpdateCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceAdminUpdateCarArgs) GetReq() (v *AdminUpdateCarRequest)
- func (p *CarServiceAdminUpdateCarArgs) InitDefault()
- func (p *CarServiceAdminUpdateCarArgs) IsSetReq() bool
- func (p *CarServiceAdminUpdateCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceAdminUpdateCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceAdminUpdateCarArgs) SetReq(val *AdminUpdateCarRequest)
- func (p *CarServiceAdminUpdateCarArgs) String() string
- func (p *CarServiceAdminUpdateCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceAdminUpdateCarResult
- func (p *CarServiceAdminUpdateCarResult) BLength() int
- func (p *CarServiceAdminUpdateCarResult) DeepEqual(ano *CarServiceAdminUpdateCarResult) bool
- func (p *CarServiceAdminUpdateCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceAdminUpdateCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceAdminUpdateCarResult) FastWrite(buf []byte) int
- func (p *CarServiceAdminUpdateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceAdminUpdateCarResult) Field0DeepEqual(src *AdminUpdateCarResponse) bool
- func (p *CarServiceAdminUpdateCarResult) GetResult() interface{}
- func (p *CarServiceAdminUpdateCarResult) GetSuccess() (v *AdminUpdateCarResponse)
- func (p *CarServiceAdminUpdateCarResult) InitDefault()
- func (p *CarServiceAdminUpdateCarResult) IsSetSuccess() bool
- func (p *CarServiceAdminUpdateCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceAdminUpdateCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceAdminUpdateCarResult) SetSuccess(x interface{})
- func (p *CarServiceAdminUpdateCarResult) String() string
- func (p *CarServiceAdminUpdateCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceClient
- func (p *CarServiceClient) AdminUpdateCar(ctx context.Context, req *AdminUpdateCarRequest) (r *AdminUpdateCarResponse, err error)
- func (p *CarServiceClient) Client_() thrift.TClient
- func (p *CarServiceClient) CreateCar(ctx context.Context, req *CreateCarRequest) (r *CreateCarResponse, err error)
- func (p *CarServiceClient) DeleteCar(ctx context.Context, req *DeleteCarRequest) (r *DeleteCarResponse, err error)
- func (p *CarServiceClient) GetAllCars(ctx context.Context, req *GetAllCarsRequest) (r *GetAllCarsResponse, err error)
- func (p *CarServiceClient) GetCar(ctx context.Context, req *GetCarRequest) (r *GetCarResponse, err error)
- func (p *CarServiceClient) GetCars(ctx context.Context, req *GetCarsRequest) (r *GetCarsResponse, err error)
- func (p *CarServiceClient) GetSomeCars(ctx context.Context, req *GetSomeCarsRequest) (r *GetSomeCarsResponse, err error)
- func (p *CarServiceClient) LockCar(ctx context.Context, req *LockCarRequest) (r *LockCarResponse, err error)
- func (p *CarServiceClient) UnlockCar(ctx context.Context, req *UnlockCarRequest) (r *UnlockCarResponse, err error)
- func (p *CarServiceClient) UpdateCar(ctx context.Context, req *UpdateCarRequest) (r *UpdateCarResponse, err error)
- type CarServiceCreateCarArgs
- func (p *CarServiceCreateCarArgs) BLength() int
- func (p *CarServiceCreateCarArgs) DeepEqual(ano *CarServiceCreateCarArgs) bool
- func (p *CarServiceCreateCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceCreateCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceCreateCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceCreateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceCreateCarArgs) Field1DeepEqual(src *CreateCarRequest) bool
- func (p *CarServiceCreateCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceCreateCarArgs) GetReq() (v *CreateCarRequest)
- func (p *CarServiceCreateCarArgs) InitDefault()
- func (p *CarServiceCreateCarArgs) IsSetReq() bool
- func (p *CarServiceCreateCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceCreateCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceCreateCarArgs) SetReq(val *CreateCarRequest)
- func (p *CarServiceCreateCarArgs) String() string
- func (p *CarServiceCreateCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceCreateCarResult
- func (p *CarServiceCreateCarResult) BLength() int
- func (p *CarServiceCreateCarResult) DeepEqual(ano *CarServiceCreateCarResult) bool
- func (p *CarServiceCreateCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceCreateCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceCreateCarResult) FastWrite(buf []byte) int
- func (p *CarServiceCreateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceCreateCarResult) Field0DeepEqual(src *CreateCarResponse) bool
- func (p *CarServiceCreateCarResult) GetResult() interface{}
- func (p *CarServiceCreateCarResult) GetSuccess() (v *CreateCarResponse)
- func (p *CarServiceCreateCarResult) InitDefault()
- func (p *CarServiceCreateCarResult) IsSetSuccess() bool
- func (p *CarServiceCreateCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceCreateCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceCreateCarResult) SetSuccess(x interface{})
- func (p *CarServiceCreateCarResult) String() string
- func (p *CarServiceCreateCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceDeleteCarArgs
- func (p *CarServiceDeleteCarArgs) BLength() int
- func (p *CarServiceDeleteCarArgs) DeepEqual(ano *CarServiceDeleteCarArgs) bool
- func (p *CarServiceDeleteCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceDeleteCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceDeleteCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceDeleteCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceDeleteCarArgs) Field1DeepEqual(src *DeleteCarRequest) bool
- func (p *CarServiceDeleteCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceDeleteCarArgs) GetReq() (v *DeleteCarRequest)
- func (p *CarServiceDeleteCarArgs) InitDefault()
- func (p *CarServiceDeleteCarArgs) IsSetReq() bool
- func (p *CarServiceDeleteCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceDeleteCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceDeleteCarArgs) SetReq(val *DeleteCarRequest)
- func (p *CarServiceDeleteCarArgs) String() string
- func (p *CarServiceDeleteCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceDeleteCarResult
- func (p *CarServiceDeleteCarResult) BLength() int
- func (p *CarServiceDeleteCarResult) DeepEqual(ano *CarServiceDeleteCarResult) bool
- func (p *CarServiceDeleteCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceDeleteCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceDeleteCarResult) FastWrite(buf []byte) int
- func (p *CarServiceDeleteCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceDeleteCarResult) Field0DeepEqual(src *DeleteCarResponse) bool
- func (p *CarServiceDeleteCarResult) GetResult() interface{}
- func (p *CarServiceDeleteCarResult) GetSuccess() (v *DeleteCarResponse)
- func (p *CarServiceDeleteCarResult) InitDefault()
- func (p *CarServiceDeleteCarResult) IsSetSuccess() bool
- func (p *CarServiceDeleteCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceDeleteCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceDeleteCarResult) SetSuccess(x interface{})
- func (p *CarServiceDeleteCarResult) String() string
- func (p *CarServiceDeleteCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetAllCarsArgs
- func (p *CarServiceGetAllCarsArgs) BLength() int
- func (p *CarServiceGetAllCarsArgs) DeepEqual(ano *CarServiceGetAllCarsArgs) bool
- func (p *CarServiceGetAllCarsArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetAllCarsArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceGetAllCarsArgs) FastWrite(buf []byte) int
- func (p *CarServiceGetAllCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetAllCarsArgs) Field1DeepEqual(src *GetAllCarsRequest) bool
- func (p *CarServiceGetAllCarsArgs) GetFirstArgument() interface{}
- func (p *CarServiceGetAllCarsArgs) GetReq() (v *GetAllCarsRequest)
- func (p *CarServiceGetAllCarsArgs) InitDefault()
- func (p *CarServiceGetAllCarsArgs) IsSetReq() bool
- func (p *CarServiceGetAllCarsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetAllCarsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceGetAllCarsArgs) SetReq(val *GetAllCarsRequest)
- func (p *CarServiceGetAllCarsArgs) String() string
- func (p *CarServiceGetAllCarsArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetAllCarsResult
- func (p *CarServiceGetAllCarsResult) BLength() int
- func (p *CarServiceGetAllCarsResult) DeepEqual(ano *CarServiceGetAllCarsResult) bool
- func (p *CarServiceGetAllCarsResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetAllCarsResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceGetAllCarsResult) FastWrite(buf []byte) int
- func (p *CarServiceGetAllCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetAllCarsResult) Field0DeepEqual(src *GetAllCarsResponse) bool
- func (p *CarServiceGetAllCarsResult) GetResult() interface{}
- func (p *CarServiceGetAllCarsResult) GetSuccess() (v *GetAllCarsResponse)
- func (p *CarServiceGetAllCarsResult) InitDefault()
- func (p *CarServiceGetAllCarsResult) IsSetSuccess() bool
- func (p *CarServiceGetAllCarsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetAllCarsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceGetAllCarsResult) SetSuccess(x interface{})
- func (p *CarServiceGetAllCarsResult) String() string
- func (p *CarServiceGetAllCarsResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetCarArgs
- func (p *CarServiceGetCarArgs) BLength() int
- func (p *CarServiceGetCarArgs) DeepEqual(ano *CarServiceGetCarArgs) bool
- func (p *CarServiceGetCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceGetCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceGetCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetCarArgs) Field1DeepEqual(src *GetCarRequest) bool
- func (p *CarServiceGetCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceGetCarArgs) GetReq() (v *GetCarRequest)
- func (p *CarServiceGetCarArgs) InitDefault()
- func (p *CarServiceGetCarArgs) IsSetReq() bool
- func (p *CarServiceGetCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceGetCarArgs) SetReq(val *GetCarRequest)
- func (p *CarServiceGetCarArgs) String() string
- func (p *CarServiceGetCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetCarResult
- func (p *CarServiceGetCarResult) BLength() int
- func (p *CarServiceGetCarResult) DeepEqual(ano *CarServiceGetCarResult) bool
- func (p *CarServiceGetCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceGetCarResult) FastWrite(buf []byte) int
- func (p *CarServiceGetCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetCarResult) Field0DeepEqual(src *GetCarResponse) bool
- func (p *CarServiceGetCarResult) GetResult() interface{}
- func (p *CarServiceGetCarResult) GetSuccess() (v *GetCarResponse)
- func (p *CarServiceGetCarResult) InitDefault()
- func (p *CarServiceGetCarResult) IsSetSuccess() bool
- func (p *CarServiceGetCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceGetCarResult) SetSuccess(x interface{})
- func (p *CarServiceGetCarResult) String() string
- func (p *CarServiceGetCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetCarsArgs
- func (p *CarServiceGetCarsArgs) BLength() int
- func (p *CarServiceGetCarsArgs) DeepEqual(ano *CarServiceGetCarsArgs) bool
- func (p *CarServiceGetCarsArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetCarsArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceGetCarsArgs) FastWrite(buf []byte) int
- func (p *CarServiceGetCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetCarsArgs) Field1DeepEqual(src *GetCarsRequest) bool
- func (p *CarServiceGetCarsArgs) GetFirstArgument() interface{}
- func (p *CarServiceGetCarsArgs) GetReq() (v *GetCarsRequest)
- func (p *CarServiceGetCarsArgs) InitDefault()
- func (p *CarServiceGetCarsArgs) IsSetReq() bool
- func (p *CarServiceGetCarsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetCarsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceGetCarsArgs) SetReq(val *GetCarsRequest)
- func (p *CarServiceGetCarsArgs) String() string
- func (p *CarServiceGetCarsArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetCarsResult
- func (p *CarServiceGetCarsResult) BLength() int
- func (p *CarServiceGetCarsResult) DeepEqual(ano *CarServiceGetCarsResult) bool
- func (p *CarServiceGetCarsResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetCarsResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceGetCarsResult) FastWrite(buf []byte) int
- func (p *CarServiceGetCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetCarsResult) Field0DeepEqual(src *GetCarsResponse) bool
- func (p *CarServiceGetCarsResult) GetResult() interface{}
- func (p *CarServiceGetCarsResult) GetSuccess() (v *GetCarsResponse)
- func (p *CarServiceGetCarsResult) InitDefault()
- func (p *CarServiceGetCarsResult) IsSetSuccess() bool
- func (p *CarServiceGetCarsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetCarsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceGetCarsResult) SetSuccess(x interface{})
- func (p *CarServiceGetCarsResult) String() string
- func (p *CarServiceGetCarsResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetSomeCarsArgs
- func (p *CarServiceGetSomeCarsArgs) BLength() int
- func (p *CarServiceGetSomeCarsArgs) DeepEqual(ano *CarServiceGetSomeCarsArgs) bool
- func (p *CarServiceGetSomeCarsArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetSomeCarsArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceGetSomeCarsArgs) FastWrite(buf []byte) int
- func (p *CarServiceGetSomeCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetSomeCarsArgs) Field1DeepEqual(src *GetSomeCarsRequest) bool
- func (p *CarServiceGetSomeCarsArgs) GetFirstArgument() interface{}
- func (p *CarServiceGetSomeCarsArgs) GetReq() (v *GetSomeCarsRequest)
- func (p *CarServiceGetSomeCarsArgs) InitDefault()
- func (p *CarServiceGetSomeCarsArgs) IsSetReq() bool
- func (p *CarServiceGetSomeCarsArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetSomeCarsArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceGetSomeCarsArgs) SetReq(val *GetSomeCarsRequest)
- func (p *CarServiceGetSomeCarsArgs) String() string
- func (p *CarServiceGetSomeCarsArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceGetSomeCarsResult
- func (p *CarServiceGetSomeCarsResult) BLength() int
- func (p *CarServiceGetSomeCarsResult) DeepEqual(ano *CarServiceGetSomeCarsResult) bool
- func (p *CarServiceGetSomeCarsResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceGetSomeCarsResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceGetSomeCarsResult) FastWrite(buf []byte) int
- func (p *CarServiceGetSomeCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceGetSomeCarsResult) Field0DeepEqual(src *GetSomeCarsResponse) bool
- func (p *CarServiceGetSomeCarsResult) GetResult() interface{}
- func (p *CarServiceGetSomeCarsResult) GetSuccess() (v *GetSomeCarsResponse)
- func (p *CarServiceGetSomeCarsResult) InitDefault()
- func (p *CarServiceGetSomeCarsResult) IsSetSuccess() bool
- func (p *CarServiceGetSomeCarsResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceGetSomeCarsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceGetSomeCarsResult) SetSuccess(x interface{})
- func (p *CarServiceGetSomeCarsResult) String() string
- func (p *CarServiceGetSomeCarsResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceLockCarArgs
- func (p *CarServiceLockCarArgs) BLength() int
- func (p *CarServiceLockCarArgs) DeepEqual(ano *CarServiceLockCarArgs) bool
- func (p *CarServiceLockCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceLockCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceLockCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceLockCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceLockCarArgs) Field1DeepEqual(src *LockCarRequest) bool
- func (p *CarServiceLockCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceLockCarArgs) GetReq() (v *LockCarRequest)
- func (p *CarServiceLockCarArgs) InitDefault()
- func (p *CarServiceLockCarArgs) IsSetReq() bool
- func (p *CarServiceLockCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceLockCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceLockCarArgs) SetReq(val *LockCarRequest)
- func (p *CarServiceLockCarArgs) String() string
- func (p *CarServiceLockCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceLockCarResult
- func (p *CarServiceLockCarResult) BLength() int
- func (p *CarServiceLockCarResult) DeepEqual(ano *CarServiceLockCarResult) bool
- func (p *CarServiceLockCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceLockCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceLockCarResult) FastWrite(buf []byte) int
- func (p *CarServiceLockCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceLockCarResult) Field0DeepEqual(src *LockCarResponse) bool
- func (p *CarServiceLockCarResult) GetResult() interface{}
- func (p *CarServiceLockCarResult) GetSuccess() (v *LockCarResponse)
- func (p *CarServiceLockCarResult) InitDefault()
- func (p *CarServiceLockCarResult) IsSetSuccess() bool
- func (p *CarServiceLockCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceLockCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceLockCarResult) SetSuccess(x interface{})
- func (p *CarServiceLockCarResult) String() string
- func (p *CarServiceLockCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceProcessor
- func (p *CarServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *CarServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *CarServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *CarServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type CarServiceUnlockCarArgs
- func (p *CarServiceUnlockCarArgs) BLength() int
- func (p *CarServiceUnlockCarArgs) DeepEqual(ano *CarServiceUnlockCarArgs) bool
- func (p *CarServiceUnlockCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceUnlockCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceUnlockCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceUnlockCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceUnlockCarArgs) Field1DeepEqual(src *UnlockCarRequest) bool
- func (p *CarServiceUnlockCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceUnlockCarArgs) GetReq() (v *UnlockCarRequest)
- func (p *CarServiceUnlockCarArgs) InitDefault()
- func (p *CarServiceUnlockCarArgs) IsSetReq() bool
- func (p *CarServiceUnlockCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceUnlockCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceUnlockCarArgs) SetReq(val *UnlockCarRequest)
- func (p *CarServiceUnlockCarArgs) String() string
- func (p *CarServiceUnlockCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceUnlockCarResult
- func (p *CarServiceUnlockCarResult) BLength() int
- func (p *CarServiceUnlockCarResult) DeepEqual(ano *CarServiceUnlockCarResult) bool
- func (p *CarServiceUnlockCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceUnlockCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceUnlockCarResult) FastWrite(buf []byte) int
- func (p *CarServiceUnlockCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceUnlockCarResult) Field0DeepEqual(src *UnlockCarResponse) bool
- func (p *CarServiceUnlockCarResult) GetResult() interface{}
- func (p *CarServiceUnlockCarResult) GetSuccess() (v *UnlockCarResponse)
- func (p *CarServiceUnlockCarResult) InitDefault()
- func (p *CarServiceUnlockCarResult) IsSetSuccess() bool
- func (p *CarServiceUnlockCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceUnlockCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceUnlockCarResult) SetSuccess(x interface{})
- func (p *CarServiceUnlockCarResult) String() string
- func (p *CarServiceUnlockCarResult) Write(oprot thrift.TProtocol) (err error)
- type CarServiceUpdateCarArgs
- func (p *CarServiceUpdateCarArgs) BLength() int
- func (p *CarServiceUpdateCarArgs) DeepEqual(ano *CarServiceUpdateCarArgs) bool
- func (p *CarServiceUpdateCarArgs) FastRead(buf []byte) (int, error)
- func (p *CarServiceUpdateCarArgs) FastReadField1(buf []byte) (int, error)
- func (p *CarServiceUpdateCarArgs) FastWrite(buf []byte) int
- func (p *CarServiceUpdateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceUpdateCarArgs) Field1DeepEqual(src *UpdateCarRequest) bool
- func (p *CarServiceUpdateCarArgs) GetFirstArgument() interface{}
- func (p *CarServiceUpdateCarArgs) GetReq() (v *UpdateCarRequest)
- func (p *CarServiceUpdateCarArgs) InitDefault()
- func (p *CarServiceUpdateCarArgs) IsSetReq() bool
- func (p *CarServiceUpdateCarArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceUpdateCarArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CarServiceUpdateCarArgs) SetReq(val *UpdateCarRequest)
- func (p *CarServiceUpdateCarArgs) String() string
- func (p *CarServiceUpdateCarArgs) Write(oprot thrift.TProtocol) (err error)
- type CarServiceUpdateCarResult
- func (p *CarServiceUpdateCarResult) BLength() int
- func (p *CarServiceUpdateCarResult) DeepEqual(ano *CarServiceUpdateCarResult) bool
- func (p *CarServiceUpdateCarResult) FastRead(buf []byte) (int, error)
- func (p *CarServiceUpdateCarResult) FastReadField0(buf []byte) (int, error)
- func (p *CarServiceUpdateCarResult) FastWrite(buf []byte) int
- func (p *CarServiceUpdateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CarServiceUpdateCarResult) Field0DeepEqual(src *UpdateCarResponse) bool
- func (p *CarServiceUpdateCarResult) GetResult() interface{}
- func (p *CarServiceUpdateCarResult) GetSuccess() (v *UpdateCarResponse)
- func (p *CarServiceUpdateCarResult) InitDefault()
- func (p *CarServiceUpdateCarResult) IsSetSuccess() bool
- func (p *CarServiceUpdateCarResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CarServiceUpdateCarResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CarServiceUpdateCarResult) SetSuccess(x interface{})
- func (p *CarServiceUpdateCarResult) String() string
- func (p *CarServiceUpdateCarResult) Write(oprot thrift.TProtocol) (err error)
- type CreateCarRequest
- func (p *CreateCarRequest) BLength() int
- func (p *CreateCarRequest) DeepEqual(ano *CreateCarRequest) bool
- func (p *CreateCarRequest) FastRead(buf []byte) (int, error)
- func (p *CreateCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *CreateCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *CreateCarRequest) FastWrite(buf []byte) int
- func (p *CreateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateCarRequest) Field1DeepEqual(src string) bool
- func (p *CreateCarRequest) Field2DeepEqual(src string) bool
- func (p *CreateCarRequest) GetAccountId() (v string)
- func (p *CreateCarRequest) GetPlateNum() (v string)
- func (p *CreateCarRequest) InitDefault()
- func (p *CreateCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateCarRequest) SetAccountId(val string)
- func (p *CreateCarRequest) SetPlateNum(val string)
- func (p *CreateCarRequest) String() string
- func (p *CreateCarRequest) Write(oprot thrift.TProtocol) (err error)
- type CreateCarResponse
- func (p *CreateCarResponse) BLength() int
- func (p *CreateCarResponse) DeepEqual(ano *CreateCarResponse) bool
- func (p *CreateCarResponse) FastRead(buf []byte) (int, error)
- func (p *CreateCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *CreateCarResponse) FastReadField2(buf []byte) (int, error)
- func (p *CreateCarResponse) FastWrite(buf []byte) int
- func (p *CreateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *CreateCarResponse) Field2DeepEqual(src *base.CarEntity) bool
- func (p *CreateCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *CreateCarResponse) GetCarEntity() (v *base.CarEntity)
- func (p *CreateCarResponse) InitDefault()
- func (p *CreateCarResponse) IsSetBaseResp() bool
- func (p *CreateCarResponse) IsSetCarEntity() bool
- func (p *CreateCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateCarResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *CreateCarResponse) SetCarEntity(val *base.CarEntity)
- func (p *CreateCarResponse) String() string
- func (p *CreateCarResponse) Write(oprot thrift.TProtocol) (err error)
- type DeleteCarRequest
- func (p *DeleteCarRequest) BLength() int
- func (p *DeleteCarRequest) DeepEqual(ano *DeleteCarRequest) bool
- func (p *DeleteCarRequest) FastRead(buf []byte) (int, error)
- func (p *DeleteCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *DeleteCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *DeleteCarRequest) FastWrite(buf []byte) int
- func (p *DeleteCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteCarRequest) Field1DeepEqual(src string) bool
- func (p *DeleteCarRequest) Field2DeepEqual(src string) bool
- func (p *DeleteCarRequest) GetAccountId() (v string)
- func (p *DeleteCarRequest) GetId() (v string)
- func (p *DeleteCarRequest) InitDefault()
- func (p *DeleteCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DeleteCarRequest) SetAccountId(val string)
- func (p *DeleteCarRequest) SetId(val string)
- func (p *DeleteCarRequest) String() string
- func (p *DeleteCarRequest) Write(oprot thrift.TProtocol) (err error)
- type DeleteCarResponse
- func (p *DeleteCarResponse) BLength() int
- func (p *DeleteCarResponse) DeepEqual(ano *DeleteCarResponse) bool
- func (p *DeleteCarResponse) FastRead(buf []byte) (int, error)
- func (p *DeleteCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *DeleteCarResponse) FastWrite(buf []byte) int
- func (p *DeleteCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *DeleteCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *DeleteCarResponse) InitDefault()
- func (p *DeleteCarResponse) IsSetBaseResp() bool
- func (p *DeleteCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *DeleteCarResponse) String() string
- func (p *DeleteCarResponse) Write(oprot thrift.TProtocol) (err error)
- type GetAllCarsRequest
- func (p *GetAllCarsRequest) BLength() int
- func (p *GetAllCarsRequest) DeepEqual(ano *GetAllCarsRequest) bool
- func (p *GetAllCarsRequest) FastRead(buf []byte) (int, error)
- func (p *GetAllCarsRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetAllCarsRequest) FastWrite(buf []byte) int
- func (p *GetAllCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllCarsRequest) Field1DeepEqual(src string) bool
- func (p *GetAllCarsRequest) GetAccountId() (v string)
- func (p *GetAllCarsRequest) InitDefault()
- func (p *GetAllCarsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllCarsRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAllCarsRequest) SetAccountId(val string)
- func (p *GetAllCarsRequest) String() string
- func (p *GetAllCarsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetAllCarsResponse
- func (p *GetAllCarsResponse) BLength() int
- func (p *GetAllCarsResponse) DeepEqual(ano *GetAllCarsResponse) bool
- func (p *GetAllCarsResponse) FastRead(buf []byte) (int, error)
- func (p *GetAllCarsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetAllCarsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetAllCarsResponse) FastWrite(buf []byte) int
- func (p *GetAllCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetAllCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetAllCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
- func (p *GetAllCarsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetAllCarsResponse) GetCars() (v []*base.CarEntity)
- func (p *GetAllCarsResponse) InitDefault()
- func (p *GetAllCarsResponse) IsSetBaseResp() bool
- func (p *GetAllCarsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetAllCarsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAllCarsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetAllCarsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetAllCarsResponse) SetCars(val []*base.CarEntity)
- func (p *GetAllCarsResponse) String() string
- func (p *GetAllCarsResponse) Write(oprot thrift.TProtocol) (err error)
- type GetCarRequest
- func (p *GetCarRequest) BLength() int
- func (p *GetCarRequest) DeepEqual(ano *GetCarRequest) bool
- func (p *GetCarRequest) FastRead(buf []byte) (int, error)
- func (p *GetCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetCarRequest) FastWrite(buf []byte) int
- func (p *GetCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetCarRequest) Field1DeepEqual(src string) bool
- func (p *GetCarRequest) Field2DeepEqual(src string) bool
- func (p *GetCarRequest) GetAccountId() (v string)
- func (p *GetCarRequest) GetId() (v string)
- func (p *GetCarRequest) InitDefault()
- func (p *GetCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GetCarRequest) SetAccountId(val string)
- func (p *GetCarRequest) SetId(val string)
- func (p *GetCarRequest) String() string
- func (p *GetCarRequest) Write(oprot thrift.TProtocol) (err error)
- type GetCarResponse
- func (p *GetCarResponse) BLength() int
- func (p *GetCarResponse) DeepEqual(ano *GetCarResponse) bool
- func (p *GetCarResponse) FastRead(buf []byte) (int, error)
- func (p *GetCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetCarResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetCarResponse) FastWrite(buf []byte) int
- func (p *GetCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetCarResponse) Field2DeepEqual(src *base.Car) bool
- func (p *GetCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetCarResponse) GetCar() (v *base.Car)
- func (p *GetCarResponse) InitDefault()
- func (p *GetCarResponse) IsSetBaseResp() bool
- func (p *GetCarResponse) IsSetCar() bool
- func (p *GetCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetCarResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetCarResponse) SetCar(val *base.Car)
- func (p *GetCarResponse) String() string
- func (p *GetCarResponse) Write(oprot thrift.TProtocol) (err error)
- type GetCarsRequest
- func (p *GetCarsRequest) BLength() int
- func (p *GetCarsRequest) DeepEqual(ano *GetCarsRequest) bool
- func (p *GetCarsRequest) FastRead(buf []byte) (int, error)
- func (p *GetCarsRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetCarsRequest) FastWrite(buf []byte) int
- func (p *GetCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetCarsRequest) Field1DeepEqual(src string) bool
- func (p *GetCarsRequest) GetAccountId() (v string)
- func (p *GetCarsRequest) InitDefault()
- func (p *GetCarsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetCarsRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetCarsRequest) SetAccountId(val string)
- func (p *GetCarsRequest) String() string
- func (p *GetCarsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetCarsResponse
- func (p *GetCarsResponse) BLength() int
- func (p *GetCarsResponse) DeepEqual(ano *GetCarsResponse) bool
- func (p *GetCarsResponse) FastRead(buf []byte) (int, error)
- func (p *GetCarsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetCarsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetCarsResponse) FastWrite(buf []byte) int
- func (p *GetCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
- func (p *GetCarsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetCarsResponse) GetCars() (v []*base.CarEntity)
- func (p *GetCarsResponse) InitDefault()
- func (p *GetCarsResponse) IsSetBaseResp() bool
- func (p *GetCarsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetCarsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetCarsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetCarsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetCarsResponse) SetCars(val []*base.CarEntity)
- func (p *GetCarsResponse) String() string
- func (p *GetCarsResponse) Write(oprot thrift.TProtocol) (err error)
- type GetSomeCarsRequest
- func (p *GetSomeCarsRequest) BLength() int
- func (p *GetSomeCarsRequest) DeepEqual(ano *GetSomeCarsRequest) bool
- func (p *GetSomeCarsRequest) FastRead(buf []byte) (int, error)
- func (p *GetSomeCarsRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetSomeCarsRequest) FastWrite(buf []byte) int
- func (p *GetSomeCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeCarsRequest) Field1DeepEqual(src string) bool
- func (p *GetSomeCarsRequest) GetAccountId() (v string)
- func (p *GetSomeCarsRequest) InitDefault()
- func (p *GetSomeCarsRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeCarsRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetSomeCarsRequest) SetAccountId(val string)
- func (p *GetSomeCarsRequest) String() string
- func (p *GetSomeCarsRequest) Write(oprot thrift.TProtocol) (err error)
- type GetSomeCarsResponse
- func (p *GetSomeCarsResponse) BLength() int
- func (p *GetSomeCarsResponse) DeepEqual(ano *GetSomeCarsResponse) bool
- func (p *GetSomeCarsResponse) FastRead(buf []byte) (int, error)
- func (p *GetSomeCarsResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetSomeCarsResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetSomeCarsResponse) FastWrite(buf []byte) int
- func (p *GetSomeCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetSomeCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *GetSomeCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
- func (p *GetSomeCarsResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *GetSomeCarsResponse) GetCars() (v []*base.CarEntity)
- func (p *GetSomeCarsResponse) InitDefault()
- func (p *GetSomeCarsResponse) IsSetBaseResp() bool
- func (p *GetSomeCarsResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetSomeCarsResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetSomeCarsResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetSomeCarsResponse) SetBaseResp(val *base.BaseResponse)
- func (p *GetSomeCarsResponse) SetCars(val []*base.CarEntity)
- func (p *GetSomeCarsResponse) String() string
- func (p *GetSomeCarsResponse) Write(oprot thrift.TProtocol) (err error)
- type LockCarRequest
- func (p *LockCarRequest) BLength() int
- func (p *LockCarRequest) DeepEqual(ano *LockCarRequest) bool
- func (p *LockCarRequest) FastRead(buf []byte) (int, error)
- func (p *LockCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *LockCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *LockCarRequest) FastWrite(buf []byte) int
- func (p *LockCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LockCarRequest) Field1DeepEqual(src string) bool
- func (p *LockCarRequest) Field2DeepEqual(src string) bool
- func (p *LockCarRequest) GetAccountId() (v string)
- func (p *LockCarRequest) GetId() (v string)
- func (p *LockCarRequest) InitDefault()
- func (p *LockCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LockCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LockCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LockCarRequest) SetAccountId(val string)
- func (p *LockCarRequest) SetId(val string)
- func (p *LockCarRequest) String() string
- func (p *LockCarRequest) Write(oprot thrift.TProtocol) (err error)
- type LockCarResponse
- func (p *LockCarResponse) BLength() int
- func (p *LockCarResponse) DeepEqual(ano *LockCarResponse) bool
- func (p *LockCarResponse) FastRead(buf []byte) (int, error)
- func (p *LockCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *LockCarResponse) FastWrite(buf []byte) int
- func (p *LockCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LockCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *LockCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *LockCarResponse) InitDefault()
- func (p *LockCarResponse) IsSetBaseResp() bool
- func (p *LockCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LockCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LockCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *LockCarResponse) String() string
- func (p *LockCarResponse) Write(oprot thrift.TProtocol) (err error)
- type UnlockCarRequest
- func (p *UnlockCarRequest) BLength() int
- func (p *UnlockCarRequest) DeepEqual(ano *UnlockCarRequest) bool
- func (p *UnlockCarRequest) FastRead(buf []byte) (int, error)
- func (p *UnlockCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *UnlockCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *UnlockCarRequest) FastReadField3(buf []byte) (int, error)
- func (p *UnlockCarRequest) FastReadField4(buf []byte) (int, error)
- func (p *UnlockCarRequest) FastWrite(buf []byte) int
- func (p *UnlockCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UnlockCarRequest) Field1DeepEqual(src string) bool
- func (p *UnlockCarRequest) Field2DeepEqual(src string) bool
- func (p *UnlockCarRequest) Field3DeepEqual(src *base.Driver) bool
- func (p *UnlockCarRequest) Field4DeepEqual(src string) bool
- func (p *UnlockCarRequest) GetAccountId() (v string)
- func (p *UnlockCarRequest) GetDriver() (v *base.Driver)
- func (p *UnlockCarRequest) GetId() (v string)
- func (p *UnlockCarRequest) GetTripId() (v string)
- func (p *UnlockCarRequest) InitDefault()
- func (p *UnlockCarRequest) IsSetDriver() bool
- func (p *UnlockCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UnlockCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UnlockCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UnlockCarRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *UnlockCarRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *UnlockCarRequest) SetAccountId(val string)
- func (p *UnlockCarRequest) SetDriver(val *base.Driver)
- func (p *UnlockCarRequest) SetId(val string)
- func (p *UnlockCarRequest) SetTripId(val string)
- func (p *UnlockCarRequest) String() string
- func (p *UnlockCarRequest) Write(oprot thrift.TProtocol) (err error)
- type UnlockCarResponse
- func (p *UnlockCarResponse) BLength() int
- func (p *UnlockCarResponse) DeepEqual(ano *UnlockCarResponse) bool
- func (p *UnlockCarResponse) FastRead(buf []byte) (int, error)
- func (p *UnlockCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *UnlockCarResponse) FastWrite(buf []byte) int
- func (p *UnlockCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UnlockCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *UnlockCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *UnlockCarResponse) InitDefault()
- func (p *UnlockCarResponse) IsSetBaseResp() bool
- func (p *UnlockCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UnlockCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UnlockCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *UnlockCarResponse) String() string
- func (p *UnlockCarResponse) Write(oprot thrift.TProtocol) (err error)
- type UpdateCarRequest
- func (p *UpdateCarRequest) BLength() int
- func (p *UpdateCarRequest) DeepEqual(ano *UpdateCarRequest) bool
- func (p *UpdateCarRequest) FastRead(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastReadField1(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastReadField2(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastReadField3(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastReadField4(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastReadField5(buf []byte) (int, error)
- func (p *UpdateCarRequest) FastWrite(buf []byte) int
- func (p *UpdateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateCarRequest) Field1DeepEqual(src string) bool
- func (p *UpdateCarRequest) Field2DeepEqual(src base.CarStatus) bool
- func (p *UpdateCarRequest) Field3DeepEqual(src *base.Position) bool
- func (p *UpdateCarRequest) Field4DeepEqual(src string) bool
- func (p *UpdateCarRequest) Field5DeepEqual(src float64) bool
- func (p *UpdateCarRequest) GetAccountId() (v string)
- func (p *UpdateCarRequest) GetId() (v string)
- func (p *UpdateCarRequest) GetPosition() (v *base.Position)
- func (p *UpdateCarRequest) GetPower() (v float64)
- func (p *UpdateCarRequest) GetStatus() (v base.CarStatus)
- func (p *UpdateCarRequest) InitDefault()
- func (p *UpdateCarRequest) IsSetPosition() bool
- func (p *UpdateCarRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateCarRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateCarRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateCarRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateCarRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateCarRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *UpdateCarRequest) SetAccountId(val string)
- func (p *UpdateCarRequest) SetId(val string)
- func (p *UpdateCarRequest) SetPosition(val *base.Position)
- func (p *UpdateCarRequest) SetPower(val float64)
- func (p *UpdateCarRequest) SetStatus(val base.CarStatus)
- func (p *UpdateCarRequest) String() string
- func (p *UpdateCarRequest) Write(oprot thrift.TProtocol) (err error)
- type UpdateCarResponse
- func (p *UpdateCarResponse) BLength() int
- func (p *UpdateCarResponse) DeepEqual(ano *UpdateCarResponse) bool
- func (p *UpdateCarResponse) FastRead(buf []byte) (int, error)
- func (p *UpdateCarResponse) FastReadField1(buf []byte) (int, error)
- func (p *UpdateCarResponse) FastWrite(buf []byte) int
- func (p *UpdateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *UpdateCarResponse) GetBaseResp() (v *base.BaseResponse)
- func (p *UpdateCarResponse) InitDefault()
- func (p *UpdateCarResponse) IsSetBaseResp() bool
- func (p *UpdateCarResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateCarResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateCarResponse) SetBaseResp(val *base.BaseResponse)
- func (p *UpdateCarResponse) String() string
- func (p *UpdateCarResponse) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
var AdminUpdateCarRequest_Car_DEFAULT *base.Car
var AdminUpdateCarResponse_BaseResp_DEFAULT *base.BaseResponse
var CreateCarResponse_BaseResp_DEFAULT *base.BaseResponse
var CreateCarResponse_CarEntity_DEFAULT *base.CarEntity
var DeleteCarResponse_BaseResp_DEFAULT *base.BaseResponse
var GetAllCarsResponse_BaseResp_DEFAULT *base.BaseResponse
var GetCarResponse_BaseResp_DEFAULT *base.BaseResponse
var GetCarResponse_Car_DEFAULT *base.Car
var GetCarsResponse_BaseResp_DEFAULT *base.BaseResponse
var GetSomeCarsResponse_BaseResp_DEFAULT *base.BaseResponse
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
var LockCarResponse_BaseResp_DEFAULT *base.BaseResponse
var UnlockCarRequest_Driver_DEFAULT *base.Driver
var UnlockCarResponse_BaseResp_DEFAULT *base.BaseResponse
var UpdateCarRequest_Position_DEFAULT *base.Position
var UpdateCarResponse_BaseResp_DEFAULT *base.BaseResponse
Functions ¶
This section is empty.
Types ¶
type AdminUpdateCarRequest ¶
type AdminUpdateCarRequest struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` Car *base.Car `thrift:"car,2" frugal:"2,default,base.Car" json:"car"` }
var CarServiceAdminUpdateCarArgs_Req_DEFAULT *AdminUpdateCarRequest
func NewAdminUpdateCarRequest ¶
func NewAdminUpdateCarRequest() *AdminUpdateCarRequest
func (*AdminUpdateCarRequest) BLength ¶
func (p *AdminUpdateCarRequest) BLength() int
func (*AdminUpdateCarRequest) DeepEqual ¶
func (p *AdminUpdateCarRequest) DeepEqual(ano *AdminUpdateCarRequest) bool
func (*AdminUpdateCarRequest) FastRead ¶
func (p *AdminUpdateCarRequest) FastRead(buf []byte) (int, error)
func (*AdminUpdateCarRequest) FastReadField1 ¶
func (p *AdminUpdateCarRequest) FastReadField1(buf []byte) (int, error)
func (*AdminUpdateCarRequest) FastReadField2 ¶
func (p *AdminUpdateCarRequest) FastReadField2(buf []byte) (int, error)
func (*AdminUpdateCarRequest) FastWrite ¶
func (p *AdminUpdateCarRequest) FastWrite(buf []byte) int
for compatibility
func (*AdminUpdateCarRequest) FastWriteNocopy ¶
func (p *AdminUpdateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdminUpdateCarRequest) Field1DeepEqual ¶
func (p *AdminUpdateCarRequest) Field1DeepEqual(src string) bool
func (*AdminUpdateCarRequest) Field2DeepEqual ¶
func (p *AdminUpdateCarRequest) Field2DeepEqual(src *base.Car) bool
func (*AdminUpdateCarRequest) GetCar ¶
func (p *AdminUpdateCarRequest) GetCar() (v *base.Car)
func (*AdminUpdateCarRequest) GetId ¶
func (p *AdminUpdateCarRequest) GetId() (v string)
func (*AdminUpdateCarRequest) InitDefault ¶
func (p *AdminUpdateCarRequest) InitDefault()
func (*AdminUpdateCarRequest) IsSetCar ¶
func (p *AdminUpdateCarRequest) IsSetCar() bool
func (*AdminUpdateCarRequest) Read ¶
func (p *AdminUpdateCarRequest) Read(iprot thrift.TProtocol) (err error)
func (*AdminUpdateCarRequest) ReadField1 ¶
func (p *AdminUpdateCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*AdminUpdateCarRequest) ReadField2 ¶
func (p *AdminUpdateCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*AdminUpdateCarRequest) SetCar ¶
func (p *AdminUpdateCarRequest) SetCar(val *base.Car)
func (*AdminUpdateCarRequest) SetId ¶
func (p *AdminUpdateCarRequest) SetId(val string)
func (*AdminUpdateCarRequest) String ¶
func (p *AdminUpdateCarRequest) String() string
type AdminUpdateCarResponse ¶
type AdminUpdateCarResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var CarServiceAdminUpdateCarResult_Success_DEFAULT *AdminUpdateCarResponse
func NewAdminUpdateCarResponse ¶
func NewAdminUpdateCarResponse() *AdminUpdateCarResponse
func (*AdminUpdateCarResponse) BLength ¶
func (p *AdminUpdateCarResponse) BLength() int
func (*AdminUpdateCarResponse) DeepEqual ¶
func (p *AdminUpdateCarResponse) DeepEqual(ano *AdminUpdateCarResponse) bool
func (*AdminUpdateCarResponse) FastRead ¶
func (p *AdminUpdateCarResponse) FastRead(buf []byte) (int, error)
func (*AdminUpdateCarResponse) FastReadField1 ¶
func (p *AdminUpdateCarResponse) FastReadField1(buf []byte) (int, error)
func (*AdminUpdateCarResponse) FastWrite ¶
func (p *AdminUpdateCarResponse) FastWrite(buf []byte) int
for compatibility
func (*AdminUpdateCarResponse) FastWriteNocopy ¶
func (p *AdminUpdateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AdminUpdateCarResponse) Field1DeepEqual ¶
func (p *AdminUpdateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*AdminUpdateCarResponse) GetBaseResp ¶
func (p *AdminUpdateCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*AdminUpdateCarResponse) InitDefault ¶
func (p *AdminUpdateCarResponse) InitDefault()
func (*AdminUpdateCarResponse) IsSetBaseResp ¶
func (p *AdminUpdateCarResponse) IsSetBaseResp() bool
func (*AdminUpdateCarResponse) Read ¶
func (p *AdminUpdateCarResponse) Read(iprot thrift.TProtocol) (err error)
func (*AdminUpdateCarResponse) ReadField1 ¶
func (p *AdminUpdateCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*AdminUpdateCarResponse) SetBaseResp ¶
func (p *AdminUpdateCarResponse) SetBaseResp(val *base.BaseResponse)
func (*AdminUpdateCarResponse) String ¶
func (p *AdminUpdateCarResponse) String() string
type CarService ¶
type CarService interface { CreateCar(ctx context.Context, req *CreateCarRequest) (r *CreateCarResponse, err error) DeleteCar(ctx context.Context, req *DeleteCarRequest) (r *DeleteCarResponse, err error) AdminUpdateCar(ctx context.Context, req *AdminUpdateCarRequest) (r *AdminUpdateCarResponse, err error) GetSomeCars(ctx context.Context, req *GetSomeCarsRequest) (r *GetSomeCarsResponse, err error) GetAllCars(ctx context.Context, req *GetAllCarsRequest) (r *GetAllCarsResponse, err error) GetCars(ctx context.Context, req *GetCarsRequest) (r *GetCarsResponse, err error) GetCar(ctx context.Context, req *GetCarRequest) (r *GetCarResponse, err error) LockCar(ctx context.Context, req *LockCarRequest) (r *LockCarResponse, err error) UnlockCar(ctx context.Context, req *UnlockCarRequest) (r *UnlockCarResponse, err error) UpdateCar(ctx context.Context, req *UpdateCarRequest) (r *UpdateCarResponse, err error) }
type CarServiceAdminUpdateCarArgs ¶
type CarServiceAdminUpdateCarArgs struct {
Req *AdminUpdateCarRequest `thrift:"req,1" frugal:"1,default,AdminUpdateCarRequest" json:"req"`
}
func NewCarServiceAdminUpdateCarArgs ¶
func NewCarServiceAdminUpdateCarArgs() *CarServiceAdminUpdateCarArgs
func (*CarServiceAdminUpdateCarArgs) BLength ¶
func (p *CarServiceAdminUpdateCarArgs) BLength() int
func (*CarServiceAdminUpdateCarArgs) DeepEqual ¶
func (p *CarServiceAdminUpdateCarArgs) DeepEqual(ano *CarServiceAdminUpdateCarArgs) bool
func (*CarServiceAdminUpdateCarArgs) FastRead ¶
func (p *CarServiceAdminUpdateCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceAdminUpdateCarArgs) FastReadField1 ¶
func (p *CarServiceAdminUpdateCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceAdminUpdateCarArgs) FastWrite ¶
func (p *CarServiceAdminUpdateCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceAdminUpdateCarArgs) FastWriteNocopy ¶
func (p *CarServiceAdminUpdateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceAdminUpdateCarArgs) Field1DeepEqual ¶
func (p *CarServiceAdminUpdateCarArgs) Field1DeepEqual(src *AdminUpdateCarRequest) bool
func (*CarServiceAdminUpdateCarArgs) GetFirstArgument ¶
func (p *CarServiceAdminUpdateCarArgs) GetFirstArgument() interface{}
func (*CarServiceAdminUpdateCarArgs) GetReq ¶
func (p *CarServiceAdminUpdateCarArgs) GetReq() (v *AdminUpdateCarRequest)
func (*CarServiceAdminUpdateCarArgs) InitDefault ¶
func (p *CarServiceAdminUpdateCarArgs) InitDefault()
func (*CarServiceAdminUpdateCarArgs) IsSetReq ¶
func (p *CarServiceAdminUpdateCarArgs) IsSetReq() bool
func (*CarServiceAdminUpdateCarArgs) Read ¶
func (p *CarServiceAdminUpdateCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceAdminUpdateCarArgs) ReadField1 ¶
func (p *CarServiceAdminUpdateCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceAdminUpdateCarArgs) SetReq ¶
func (p *CarServiceAdminUpdateCarArgs) SetReq(val *AdminUpdateCarRequest)
func (*CarServiceAdminUpdateCarArgs) String ¶
func (p *CarServiceAdminUpdateCarArgs) String() string
type CarServiceAdminUpdateCarResult ¶
type CarServiceAdminUpdateCarResult struct {
Success *AdminUpdateCarResponse `thrift:"success,0,optional" frugal:"0,optional,AdminUpdateCarResponse" json:"success,omitempty"`
}
func NewCarServiceAdminUpdateCarResult ¶
func NewCarServiceAdminUpdateCarResult() *CarServiceAdminUpdateCarResult
func (*CarServiceAdminUpdateCarResult) BLength ¶
func (p *CarServiceAdminUpdateCarResult) BLength() int
func (*CarServiceAdminUpdateCarResult) DeepEqual ¶
func (p *CarServiceAdminUpdateCarResult) DeepEqual(ano *CarServiceAdminUpdateCarResult) bool
func (*CarServiceAdminUpdateCarResult) FastRead ¶
func (p *CarServiceAdminUpdateCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceAdminUpdateCarResult) FastReadField0 ¶
func (p *CarServiceAdminUpdateCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceAdminUpdateCarResult) FastWrite ¶
func (p *CarServiceAdminUpdateCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceAdminUpdateCarResult) FastWriteNocopy ¶
func (p *CarServiceAdminUpdateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceAdminUpdateCarResult) Field0DeepEqual ¶
func (p *CarServiceAdminUpdateCarResult) Field0DeepEqual(src *AdminUpdateCarResponse) bool
func (*CarServiceAdminUpdateCarResult) GetResult ¶
func (p *CarServiceAdminUpdateCarResult) GetResult() interface{}
func (*CarServiceAdminUpdateCarResult) GetSuccess ¶
func (p *CarServiceAdminUpdateCarResult) GetSuccess() (v *AdminUpdateCarResponse)
func (*CarServiceAdminUpdateCarResult) InitDefault ¶
func (p *CarServiceAdminUpdateCarResult) InitDefault()
func (*CarServiceAdminUpdateCarResult) IsSetSuccess ¶
func (p *CarServiceAdminUpdateCarResult) IsSetSuccess() bool
func (*CarServiceAdminUpdateCarResult) Read ¶
func (p *CarServiceAdminUpdateCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceAdminUpdateCarResult) ReadField0 ¶
func (p *CarServiceAdminUpdateCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceAdminUpdateCarResult) SetSuccess ¶
func (p *CarServiceAdminUpdateCarResult) SetSuccess(x interface{})
func (*CarServiceAdminUpdateCarResult) String ¶
func (p *CarServiceAdminUpdateCarResult) String() string
type CarServiceClient ¶
type CarServiceClient struct {
// contains filtered or unexported fields
}
func NewCarServiceClient ¶
func NewCarServiceClient(c thrift.TClient) *CarServiceClient
func NewCarServiceClientFactory ¶
func NewCarServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CarServiceClient
func NewCarServiceClientProtocol ¶
func NewCarServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CarServiceClient
func (*CarServiceClient) AdminUpdateCar ¶
func (p *CarServiceClient) AdminUpdateCar(ctx context.Context, req *AdminUpdateCarRequest) (r *AdminUpdateCarResponse, err error)
func (*CarServiceClient) Client_ ¶
func (p *CarServiceClient) Client_() thrift.TClient
func (*CarServiceClient) CreateCar ¶
func (p *CarServiceClient) CreateCar(ctx context.Context, req *CreateCarRequest) (r *CreateCarResponse, err error)
func (*CarServiceClient) DeleteCar ¶
func (p *CarServiceClient) DeleteCar(ctx context.Context, req *DeleteCarRequest) (r *DeleteCarResponse, err error)
func (*CarServiceClient) GetAllCars ¶
func (p *CarServiceClient) GetAllCars(ctx context.Context, req *GetAllCarsRequest) (r *GetAllCarsResponse, err error)
func (*CarServiceClient) GetCar ¶
func (p *CarServiceClient) GetCar(ctx context.Context, req *GetCarRequest) (r *GetCarResponse, err error)
func (*CarServiceClient) GetCars ¶
func (p *CarServiceClient) GetCars(ctx context.Context, req *GetCarsRequest) (r *GetCarsResponse, err error)
func (*CarServiceClient) GetSomeCars ¶
func (p *CarServiceClient) GetSomeCars(ctx context.Context, req *GetSomeCarsRequest) (r *GetSomeCarsResponse, err error)
func (*CarServiceClient) LockCar ¶
func (p *CarServiceClient) LockCar(ctx context.Context, req *LockCarRequest) (r *LockCarResponse, err error)
func (*CarServiceClient) UnlockCar ¶
func (p *CarServiceClient) UnlockCar(ctx context.Context, req *UnlockCarRequest) (r *UnlockCarResponse, err error)
func (*CarServiceClient) UpdateCar ¶
func (p *CarServiceClient) UpdateCar(ctx context.Context, req *UpdateCarRequest) (r *UpdateCarResponse, err error)
type CarServiceCreateCarArgs ¶
type CarServiceCreateCarArgs struct {
Req *CreateCarRequest `thrift:"req,1" frugal:"1,default,CreateCarRequest" json:"req"`
}
func NewCarServiceCreateCarArgs ¶
func NewCarServiceCreateCarArgs() *CarServiceCreateCarArgs
func (*CarServiceCreateCarArgs) BLength ¶
func (p *CarServiceCreateCarArgs) BLength() int
func (*CarServiceCreateCarArgs) DeepEqual ¶
func (p *CarServiceCreateCarArgs) DeepEqual(ano *CarServiceCreateCarArgs) bool
func (*CarServiceCreateCarArgs) FastRead ¶
func (p *CarServiceCreateCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceCreateCarArgs) FastReadField1 ¶
func (p *CarServiceCreateCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceCreateCarArgs) FastWrite ¶
func (p *CarServiceCreateCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceCreateCarArgs) FastWriteNocopy ¶
func (p *CarServiceCreateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceCreateCarArgs) Field1DeepEqual ¶
func (p *CarServiceCreateCarArgs) Field1DeepEqual(src *CreateCarRequest) bool
func (*CarServiceCreateCarArgs) GetFirstArgument ¶
func (p *CarServiceCreateCarArgs) GetFirstArgument() interface{}
func (*CarServiceCreateCarArgs) GetReq ¶
func (p *CarServiceCreateCarArgs) GetReq() (v *CreateCarRequest)
func (*CarServiceCreateCarArgs) InitDefault ¶
func (p *CarServiceCreateCarArgs) InitDefault()
func (*CarServiceCreateCarArgs) IsSetReq ¶
func (p *CarServiceCreateCarArgs) IsSetReq() bool
func (*CarServiceCreateCarArgs) Read ¶
func (p *CarServiceCreateCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceCreateCarArgs) ReadField1 ¶
func (p *CarServiceCreateCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceCreateCarArgs) SetReq ¶
func (p *CarServiceCreateCarArgs) SetReq(val *CreateCarRequest)
func (*CarServiceCreateCarArgs) String ¶
func (p *CarServiceCreateCarArgs) String() string
type CarServiceCreateCarResult ¶
type CarServiceCreateCarResult struct {
Success *CreateCarResponse `thrift:"success,0,optional" frugal:"0,optional,CreateCarResponse" json:"success,omitempty"`
}
func NewCarServiceCreateCarResult ¶
func NewCarServiceCreateCarResult() *CarServiceCreateCarResult
func (*CarServiceCreateCarResult) BLength ¶
func (p *CarServiceCreateCarResult) BLength() int
func (*CarServiceCreateCarResult) DeepEqual ¶
func (p *CarServiceCreateCarResult) DeepEqual(ano *CarServiceCreateCarResult) bool
func (*CarServiceCreateCarResult) FastRead ¶
func (p *CarServiceCreateCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceCreateCarResult) FastReadField0 ¶
func (p *CarServiceCreateCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceCreateCarResult) FastWrite ¶
func (p *CarServiceCreateCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceCreateCarResult) FastWriteNocopy ¶
func (p *CarServiceCreateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceCreateCarResult) Field0DeepEqual ¶
func (p *CarServiceCreateCarResult) Field0DeepEqual(src *CreateCarResponse) bool
func (*CarServiceCreateCarResult) GetResult ¶
func (p *CarServiceCreateCarResult) GetResult() interface{}
func (*CarServiceCreateCarResult) GetSuccess ¶
func (p *CarServiceCreateCarResult) GetSuccess() (v *CreateCarResponse)
func (*CarServiceCreateCarResult) InitDefault ¶
func (p *CarServiceCreateCarResult) InitDefault()
func (*CarServiceCreateCarResult) IsSetSuccess ¶
func (p *CarServiceCreateCarResult) IsSetSuccess() bool
func (*CarServiceCreateCarResult) Read ¶
func (p *CarServiceCreateCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceCreateCarResult) ReadField0 ¶
func (p *CarServiceCreateCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceCreateCarResult) SetSuccess ¶
func (p *CarServiceCreateCarResult) SetSuccess(x interface{})
func (*CarServiceCreateCarResult) String ¶
func (p *CarServiceCreateCarResult) String() string
type CarServiceDeleteCarArgs ¶
type CarServiceDeleteCarArgs struct {
Req *DeleteCarRequest `thrift:"req,1" frugal:"1,default,DeleteCarRequest" json:"req"`
}
func NewCarServiceDeleteCarArgs ¶
func NewCarServiceDeleteCarArgs() *CarServiceDeleteCarArgs
func (*CarServiceDeleteCarArgs) BLength ¶
func (p *CarServiceDeleteCarArgs) BLength() int
func (*CarServiceDeleteCarArgs) DeepEqual ¶
func (p *CarServiceDeleteCarArgs) DeepEqual(ano *CarServiceDeleteCarArgs) bool
func (*CarServiceDeleteCarArgs) FastRead ¶
func (p *CarServiceDeleteCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceDeleteCarArgs) FastReadField1 ¶
func (p *CarServiceDeleteCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceDeleteCarArgs) FastWrite ¶
func (p *CarServiceDeleteCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceDeleteCarArgs) FastWriteNocopy ¶
func (p *CarServiceDeleteCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceDeleteCarArgs) Field1DeepEqual ¶
func (p *CarServiceDeleteCarArgs) Field1DeepEqual(src *DeleteCarRequest) bool
func (*CarServiceDeleteCarArgs) GetFirstArgument ¶
func (p *CarServiceDeleteCarArgs) GetFirstArgument() interface{}
func (*CarServiceDeleteCarArgs) GetReq ¶
func (p *CarServiceDeleteCarArgs) GetReq() (v *DeleteCarRequest)
func (*CarServiceDeleteCarArgs) InitDefault ¶
func (p *CarServiceDeleteCarArgs) InitDefault()
func (*CarServiceDeleteCarArgs) IsSetReq ¶
func (p *CarServiceDeleteCarArgs) IsSetReq() bool
func (*CarServiceDeleteCarArgs) Read ¶
func (p *CarServiceDeleteCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceDeleteCarArgs) ReadField1 ¶
func (p *CarServiceDeleteCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceDeleteCarArgs) SetReq ¶
func (p *CarServiceDeleteCarArgs) SetReq(val *DeleteCarRequest)
func (*CarServiceDeleteCarArgs) String ¶
func (p *CarServiceDeleteCarArgs) String() string
type CarServiceDeleteCarResult ¶
type CarServiceDeleteCarResult struct {
Success *DeleteCarResponse `thrift:"success,0,optional" frugal:"0,optional,DeleteCarResponse" json:"success,omitempty"`
}
func NewCarServiceDeleteCarResult ¶
func NewCarServiceDeleteCarResult() *CarServiceDeleteCarResult
func (*CarServiceDeleteCarResult) BLength ¶
func (p *CarServiceDeleteCarResult) BLength() int
func (*CarServiceDeleteCarResult) DeepEqual ¶
func (p *CarServiceDeleteCarResult) DeepEqual(ano *CarServiceDeleteCarResult) bool
func (*CarServiceDeleteCarResult) FastRead ¶
func (p *CarServiceDeleteCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceDeleteCarResult) FastReadField0 ¶
func (p *CarServiceDeleteCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceDeleteCarResult) FastWrite ¶
func (p *CarServiceDeleteCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceDeleteCarResult) FastWriteNocopy ¶
func (p *CarServiceDeleteCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceDeleteCarResult) Field0DeepEqual ¶
func (p *CarServiceDeleteCarResult) Field0DeepEqual(src *DeleteCarResponse) bool
func (*CarServiceDeleteCarResult) GetResult ¶
func (p *CarServiceDeleteCarResult) GetResult() interface{}
func (*CarServiceDeleteCarResult) GetSuccess ¶
func (p *CarServiceDeleteCarResult) GetSuccess() (v *DeleteCarResponse)
func (*CarServiceDeleteCarResult) InitDefault ¶
func (p *CarServiceDeleteCarResult) InitDefault()
func (*CarServiceDeleteCarResult) IsSetSuccess ¶
func (p *CarServiceDeleteCarResult) IsSetSuccess() bool
func (*CarServiceDeleteCarResult) Read ¶
func (p *CarServiceDeleteCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceDeleteCarResult) ReadField0 ¶
func (p *CarServiceDeleteCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceDeleteCarResult) SetSuccess ¶
func (p *CarServiceDeleteCarResult) SetSuccess(x interface{})
func (*CarServiceDeleteCarResult) String ¶
func (p *CarServiceDeleteCarResult) String() string
type CarServiceGetAllCarsArgs ¶
type CarServiceGetAllCarsArgs struct {
Req *GetAllCarsRequest `thrift:"req,1" frugal:"1,default,GetAllCarsRequest" json:"req"`
}
func NewCarServiceGetAllCarsArgs ¶
func NewCarServiceGetAllCarsArgs() *CarServiceGetAllCarsArgs
func (*CarServiceGetAllCarsArgs) BLength ¶
func (p *CarServiceGetAllCarsArgs) BLength() int
func (*CarServiceGetAllCarsArgs) DeepEqual ¶
func (p *CarServiceGetAllCarsArgs) DeepEqual(ano *CarServiceGetAllCarsArgs) bool
func (*CarServiceGetAllCarsArgs) FastRead ¶
func (p *CarServiceGetAllCarsArgs) FastRead(buf []byte) (int, error)
func (*CarServiceGetAllCarsArgs) FastReadField1 ¶
func (p *CarServiceGetAllCarsArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceGetAllCarsArgs) FastWrite ¶
func (p *CarServiceGetAllCarsArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetAllCarsArgs) FastWriteNocopy ¶
func (p *CarServiceGetAllCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetAllCarsArgs) Field1DeepEqual ¶
func (p *CarServiceGetAllCarsArgs) Field1DeepEqual(src *GetAllCarsRequest) bool
func (*CarServiceGetAllCarsArgs) GetFirstArgument ¶
func (p *CarServiceGetAllCarsArgs) GetFirstArgument() interface{}
func (*CarServiceGetAllCarsArgs) GetReq ¶
func (p *CarServiceGetAllCarsArgs) GetReq() (v *GetAllCarsRequest)
func (*CarServiceGetAllCarsArgs) InitDefault ¶
func (p *CarServiceGetAllCarsArgs) InitDefault()
func (*CarServiceGetAllCarsArgs) IsSetReq ¶
func (p *CarServiceGetAllCarsArgs) IsSetReq() bool
func (*CarServiceGetAllCarsArgs) Read ¶
func (p *CarServiceGetAllCarsArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetAllCarsArgs) ReadField1 ¶
func (p *CarServiceGetAllCarsArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceGetAllCarsArgs) SetReq ¶
func (p *CarServiceGetAllCarsArgs) SetReq(val *GetAllCarsRequest)
func (*CarServiceGetAllCarsArgs) String ¶
func (p *CarServiceGetAllCarsArgs) String() string
type CarServiceGetAllCarsResult ¶
type CarServiceGetAllCarsResult struct {
Success *GetAllCarsResponse `thrift:"success,0,optional" frugal:"0,optional,GetAllCarsResponse" json:"success,omitempty"`
}
func NewCarServiceGetAllCarsResult ¶
func NewCarServiceGetAllCarsResult() *CarServiceGetAllCarsResult
func (*CarServiceGetAllCarsResult) BLength ¶
func (p *CarServiceGetAllCarsResult) BLength() int
func (*CarServiceGetAllCarsResult) DeepEqual ¶
func (p *CarServiceGetAllCarsResult) DeepEqual(ano *CarServiceGetAllCarsResult) bool
func (*CarServiceGetAllCarsResult) FastRead ¶
func (p *CarServiceGetAllCarsResult) FastRead(buf []byte) (int, error)
func (*CarServiceGetAllCarsResult) FastReadField0 ¶
func (p *CarServiceGetAllCarsResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceGetAllCarsResult) FastWrite ¶
func (p *CarServiceGetAllCarsResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetAllCarsResult) FastWriteNocopy ¶
func (p *CarServiceGetAllCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetAllCarsResult) Field0DeepEqual ¶
func (p *CarServiceGetAllCarsResult) Field0DeepEqual(src *GetAllCarsResponse) bool
func (*CarServiceGetAllCarsResult) GetResult ¶
func (p *CarServiceGetAllCarsResult) GetResult() interface{}
func (*CarServiceGetAllCarsResult) GetSuccess ¶
func (p *CarServiceGetAllCarsResult) GetSuccess() (v *GetAllCarsResponse)
func (*CarServiceGetAllCarsResult) InitDefault ¶
func (p *CarServiceGetAllCarsResult) InitDefault()
func (*CarServiceGetAllCarsResult) IsSetSuccess ¶
func (p *CarServiceGetAllCarsResult) IsSetSuccess() bool
func (*CarServiceGetAllCarsResult) Read ¶
func (p *CarServiceGetAllCarsResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetAllCarsResult) ReadField0 ¶
func (p *CarServiceGetAllCarsResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceGetAllCarsResult) SetSuccess ¶
func (p *CarServiceGetAllCarsResult) SetSuccess(x interface{})
func (*CarServiceGetAllCarsResult) String ¶
func (p *CarServiceGetAllCarsResult) String() string
type CarServiceGetCarArgs ¶
type CarServiceGetCarArgs struct {
Req *GetCarRequest `thrift:"req,1" frugal:"1,default,GetCarRequest" json:"req"`
}
func NewCarServiceGetCarArgs ¶
func NewCarServiceGetCarArgs() *CarServiceGetCarArgs
func (*CarServiceGetCarArgs) BLength ¶
func (p *CarServiceGetCarArgs) BLength() int
func (*CarServiceGetCarArgs) DeepEqual ¶
func (p *CarServiceGetCarArgs) DeepEqual(ano *CarServiceGetCarArgs) bool
func (*CarServiceGetCarArgs) FastRead ¶
func (p *CarServiceGetCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceGetCarArgs) FastReadField1 ¶
func (p *CarServiceGetCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceGetCarArgs) FastWrite ¶
func (p *CarServiceGetCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetCarArgs) FastWriteNocopy ¶
func (p *CarServiceGetCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetCarArgs) Field1DeepEqual ¶
func (p *CarServiceGetCarArgs) Field1DeepEqual(src *GetCarRequest) bool
func (*CarServiceGetCarArgs) GetFirstArgument ¶
func (p *CarServiceGetCarArgs) GetFirstArgument() interface{}
func (*CarServiceGetCarArgs) GetReq ¶
func (p *CarServiceGetCarArgs) GetReq() (v *GetCarRequest)
func (*CarServiceGetCarArgs) InitDefault ¶
func (p *CarServiceGetCarArgs) InitDefault()
func (*CarServiceGetCarArgs) IsSetReq ¶
func (p *CarServiceGetCarArgs) IsSetReq() bool
func (*CarServiceGetCarArgs) Read ¶
func (p *CarServiceGetCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetCarArgs) ReadField1 ¶
func (p *CarServiceGetCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceGetCarArgs) SetReq ¶
func (p *CarServiceGetCarArgs) SetReq(val *GetCarRequest)
func (*CarServiceGetCarArgs) String ¶
func (p *CarServiceGetCarArgs) String() string
type CarServiceGetCarResult ¶
type CarServiceGetCarResult struct {
Success *GetCarResponse `thrift:"success,0,optional" frugal:"0,optional,GetCarResponse" json:"success,omitempty"`
}
func NewCarServiceGetCarResult ¶
func NewCarServiceGetCarResult() *CarServiceGetCarResult
func (*CarServiceGetCarResult) BLength ¶
func (p *CarServiceGetCarResult) BLength() int
func (*CarServiceGetCarResult) DeepEqual ¶
func (p *CarServiceGetCarResult) DeepEqual(ano *CarServiceGetCarResult) bool
func (*CarServiceGetCarResult) FastRead ¶
func (p *CarServiceGetCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceGetCarResult) FastReadField0 ¶
func (p *CarServiceGetCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceGetCarResult) FastWrite ¶
func (p *CarServiceGetCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetCarResult) FastWriteNocopy ¶
func (p *CarServiceGetCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetCarResult) Field0DeepEqual ¶
func (p *CarServiceGetCarResult) Field0DeepEqual(src *GetCarResponse) bool
func (*CarServiceGetCarResult) GetResult ¶
func (p *CarServiceGetCarResult) GetResult() interface{}
func (*CarServiceGetCarResult) GetSuccess ¶
func (p *CarServiceGetCarResult) GetSuccess() (v *GetCarResponse)
func (*CarServiceGetCarResult) InitDefault ¶
func (p *CarServiceGetCarResult) InitDefault()
func (*CarServiceGetCarResult) IsSetSuccess ¶
func (p *CarServiceGetCarResult) IsSetSuccess() bool
func (*CarServiceGetCarResult) Read ¶
func (p *CarServiceGetCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetCarResult) ReadField0 ¶
func (p *CarServiceGetCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceGetCarResult) SetSuccess ¶
func (p *CarServiceGetCarResult) SetSuccess(x interface{})
func (*CarServiceGetCarResult) String ¶
func (p *CarServiceGetCarResult) String() string
type CarServiceGetCarsArgs ¶
type CarServiceGetCarsArgs struct {
Req *GetCarsRequest `thrift:"req,1" frugal:"1,default,GetCarsRequest" json:"req"`
}
func NewCarServiceGetCarsArgs ¶
func NewCarServiceGetCarsArgs() *CarServiceGetCarsArgs
func (*CarServiceGetCarsArgs) BLength ¶
func (p *CarServiceGetCarsArgs) BLength() int
func (*CarServiceGetCarsArgs) DeepEqual ¶
func (p *CarServiceGetCarsArgs) DeepEqual(ano *CarServiceGetCarsArgs) bool
func (*CarServiceGetCarsArgs) FastRead ¶
func (p *CarServiceGetCarsArgs) FastRead(buf []byte) (int, error)
func (*CarServiceGetCarsArgs) FastReadField1 ¶
func (p *CarServiceGetCarsArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceGetCarsArgs) FastWrite ¶
func (p *CarServiceGetCarsArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetCarsArgs) FastWriteNocopy ¶
func (p *CarServiceGetCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetCarsArgs) Field1DeepEqual ¶
func (p *CarServiceGetCarsArgs) Field1DeepEqual(src *GetCarsRequest) bool
func (*CarServiceGetCarsArgs) GetFirstArgument ¶
func (p *CarServiceGetCarsArgs) GetFirstArgument() interface{}
func (*CarServiceGetCarsArgs) GetReq ¶
func (p *CarServiceGetCarsArgs) GetReq() (v *GetCarsRequest)
func (*CarServiceGetCarsArgs) InitDefault ¶
func (p *CarServiceGetCarsArgs) InitDefault()
func (*CarServiceGetCarsArgs) IsSetReq ¶
func (p *CarServiceGetCarsArgs) IsSetReq() bool
func (*CarServiceGetCarsArgs) Read ¶
func (p *CarServiceGetCarsArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetCarsArgs) ReadField1 ¶
func (p *CarServiceGetCarsArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceGetCarsArgs) SetReq ¶
func (p *CarServiceGetCarsArgs) SetReq(val *GetCarsRequest)
func (*CarServiceGetCarsArgs) String ¶
func (p *CarServiceGetCarsArgs) String() string
type CarServiceGetCarsResult ¶
type CarServiceGetCarsResult struct {
Success *GetCarsResponse `thrift:"success,0,optional" frugal:"0,optional,GetCarsResponse" json:"success,omitempty"`
}
func NewCarServiceGetCarsResult ¶
func NewCarServiceGetCarsResult() *CarServiceGetCarsResult
func (*CarServiceGetCarsResult) BLength ¶
func (p *CarServiceGetCarsResult) BLength() int
func (*CarServiceGetCarsResult) DeepEqual ¶
func (p *CarServiceGetCarsResult) DeepEqual(ano *CarServiceGetCarsResult) bool
func (*CarServiceGetCarsResult) FastRead ¶
func (p *CarServiceGetCarsResult) FastRead(buf []byte) (int, error)
func (*CarServiceGetCarsResult) FastReadField0 ¶
func (p *CarServiceGetCarsResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceGetCarsResult) FastWrite ¶
func (p *CarServiceGetCarsResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetCarsResult) FastWriteNocopy ¶
func (p *CarServiceGetCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetCarsResult) Field0DeepEqual ¶
func (p *CarServiceGetCarsResult) Field0DeepEqual(src *GetCarsResponse) bool
func (*CarServiceGetCarsResult) GetResult ¶
func (p *CarServiceGetCarsResult) GetResult() interface{}
func (*CarServiceGetCarsResult) GetSuccess ¶
func (p *CarServiceGetCarsResult) GetSuccess() (v *GetCarsResponse)
func (*CarServiceGetCarsResult) InitDefault ¶
func (p *CarServiceGetCarsResult) InitDefault()
func (*CarServiceGetCarsResult) IsSetSuccess ¶
func (p *CarServiceGetCarsResult) IsSetSuccess() bool
func (*CarServiceGetCarsResult) Read ¶
func (p *CarServiceGetCarsResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetCarsResult) ReadField0 ¶
func (p *CarServiceGetCarsResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceGetCarsResult) SetSuccess ¶
func (p *CarServiceGetCarsResult) SetSuccess(x interface{})
func (*CarServiceGetCarsResult) String ¶
func (p *CarServiceGetCarsResult) String() string
type CarServiceGetSomeCarsArgs ¶
type CarServiceGetSomeCarsArgs struct {
Req *GetSomeCarsRequest `thrift:"req,1" frugal:"1,default,GetSomeCarsRequest" json:"req"`
}
func NewCarServiceGetSomeCarsArgs ¶
func NewCarServiceGetSomeCarsArgs() *CarServiceGetSomeCarsArgs
func (*CarServiceGetSomeCarsArgs) BLength ¶
func (p *CarServiceGetSomeCarsArgs) BLength() int
func (*CarServiceGetSomeCarsArgs) DeepEqual ¶
func (p *CarServiceGetSomeCarsArgs) DeepEqual(ano *CarServiceGetSomeCarsArgs) bool
func (*CarServiceGetSomeCarsArgs) FastRead ¶
func (p *CarServiceGetSomeCarsArgs) FastRead(buf []byte) (int, error)
func (*CarServiceGetSomeCarsArgs) FastReadField1 ¶
func (p *CarServiceGetSomeCarsArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceGetSomeCarsArgs) FastWrite ¶
func (p *CarServiceGetSomeCarsArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetSomeCarsArgs) FastWriteNocopy ¶
func (p *CarServiceGetSomeCarsArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetSomeCarsArgs) Field1DeepEqual ¶
func (p *CarServiceGetSomeCarsArgs) Field1DeepEqual(src *GetSomeCarsRequest) bool
func (*CarServiceGetSomeCarsArgs) GetFirstArgument ¶
func (p *CarServiceGetSomeCarsArgs) GetFirstArgument() interface{}
func (*CarServiceGetSomeCarsArgs) GetReq ¶
func (p *CarServiceGetSomeCarsArgs) GetReq() (v *GetSomeCarsRequest)
func (*CarServiceGetSomeCarsArgs) InitDefault ¶
func (p *CarServiceGetSomeCarsArgs) InitDefault()
func (*CarServiceGetSomeCarsArgs) IsSetReq ¶
func (p *CarServiceGetSomeCarsArgs) IsSetReq() bool
func (*CarServiceGetSomeCarsArgs) Read ¶
func (p *CarServiceGetSomeCarsArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetSomeCarsArgs) ReadField1 ¶
func (p *CarServiceGetSomeCarsArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceGetSomeCarsArgs) SetReq ¶
func (p *CarServiceGetSomeCarsArgs) SetReq(val *GetSomeCarsRequest)
func (*CarServiceGetSomeCarsArgs) String ¶
func (p *CarServiceGetSomeCarsArgs) String() string
type CarServiceGetSomeCarsResult ¶
type CarServiceGetSomeCarsResult struct {
Success *GetSomeCarsResponse `thrift:"success,0,optional" frugal:"0,optional,GetSomeCarsResponse" json:"success,omitempty"`
}
func NewCarServiceGetSomeCarsResult ¶
func NewCarServiceGetSomeCarsResult() *CarServiceGetSomeCarsResult
func (*CarServiceGetSomeCarsResult) BLength ¶
func (p *CarServiceGetSomeCarsResult) BLength() int
func (*CarServiceGetSomeCarsResult) DeepEqual ¶
func (p *CarServiceGetSomeCarsResult) DeepEqual(ano *CarServiceGetSomeCarsResult) bool
func (*CarServiceGetSomeCarsResult) FastRead ¶
func (p *CarServiceGetSomeCarsResult) FastRead(buf []byte) (int, error)
func (*CarServiceGetSomeCarsResult) FastReadField0 ¶
func (p *CarServiceGetSomeCarsResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceGetSomeCarsResult) FastWrite ¶
func (p *CarServiceGetSomeCarsResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceGetSomeCarsResult) FastWriteNocopy ¶
func (p *CarServiceGetSomeCarsResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceGetSomeCarsResult) Field0DeepEqual ¶
func (p *CarServiceGetSomeCarsResult) Field0DeepEqual(src *GetSomeCarsResponse) bool
func (*CarServiceGetSomeCarsResult) GetResult ¶
func (p *CarServiceGetSomeCarsResult) GetResult() interface{}
func (*CarServiceGetSomeCarsResult) GetSuccess ¶
func (p *CarServiceGetSomeCarsResult) GetSuccess() (v *GetSomeCarsResponse)
func (*CarServiceGetSomeCarsResult) InitDefault ¶
func (p *CarServiceGetSomeCarsResult) InitDefault()
func (*CarServiceGetSomeCarsResult) IsSetSuccess ¶
func (p *CarServiceGetSomeCarsResult) IsSetSuccess() bool
func (*CarServiceGetSomeCarsResult) Read ¶
func (p *CarServiceGetSomeCarsResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceGetSomeCarsResult) ReadField0 ¶
func (p *CarServiceGetSomeCarsResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceGetSomeCarsResult) SetSuccess ¶
func (p *CarServiceGetSomeCarsResult) SetSuccess(x interface{})
func (*CarServiceGetSomeCarsResult) String ¶
func (p *CarServiceGetSomeCarsResult) String() string
type CarServiceLockCarArgs ¶
type CarServiceLockCarArgs struct {
Req *LockCarRequest `thrift:"req,1" frugal:"1,default,LockCarRequest" json:"req"`
}
func NewCarServiceLockCarArgs ¶
func NewCarServiceLockCarArgs() *CarServiceLockCarArgs
func (*CarServiceLockCarArgs) BLength ¶
func (p *CarServiceLockCarArgs) BLength() int
func (*CarServiceLockCarArgs) DeepEqual ¶
func (p *CarServiceLockCarArgs) DeepEqual(ano *CarServiceLockCarArgs) bool
func (*CarServiceLockCarArgs) FastRead ¶
func (p *CarServiceLockCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceLockCarArgs) FastReadField1 ¶
func (p *CarServiceLockCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceLockCarArgs) FastWrite ¶
func (p *CarServiceLockCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceLockCarArgs) FastWriteNocopy ¶
func (p *CarServiceLockCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceLockCarArgs) Field1DeepEqual ¶
func (p *CarServiceLockCarArgs) Field1DeepEqual(src *LockCarRequest) bool
func (*CarServiceLockCarArgs) GetFirstArgument ¶
func (p *CarServiceLockCarArgs) GetFirstArgument() interface{}
func (*CarServiceLockCarArgs) GetReq ¶
func (p *CarServiceLockCarArgs) GetReq() (v *LockCarRequest)
func (*CarServiceLockCarArgs) InitDefault ¶
func (p *CarServiceLockCarArgs) InitDefault()
func (*CarServiceLockCarArgs) IsSetReq ¶
func (p *CarServiceLockCarArgs) IsSetReq() bool
func (*CarServiceLockCarArgs) Read ¶
func (p *CarServiceLockCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceLockCarArgs) ReadField1 ¶
func (p *CarServiceLockCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceLockCarArgs) SetReq ¶
func (p *CarServiceLockCarArgs) SetReq(val *LockCarRequest)
func (*CarServiceLockCarArgs) String ¶
func (p *CarServiceLockCarArgs) String() string
type CarServiceLockCarResult ¶
type CarServiceLockCarResult struct {
Success *LockCarResponse `thrift:"success,0,optional" frugal:"0,optional,LockCarResponse" json:"success,omitempty"`
}
func NewCarServiceLockCarResult ¶
func NewCarServiceLockCarResult() *CarServiceLockCarResult
func (*CarServiceLockCarResult) BLength ¶
func (p *CarServiceLockCarResult) BLength() int
func (*CarServiceLockCarResult) DeepEqual ¶
func (p *CarServiceLockCarResult) DeepEqual(ano *CarServiceLockCarResult) bool
func (*CarServiceLockCarResult) FastRead ¶
func (p *CarServiceLockCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceLockCarResult) FastReadField0 ¶
func (p *CarServiceLockCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceLockCarResult) FastWrite ¶
func (p *CarServiceLockCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceLockCarResult) FastWriteNocopy ¶
func (p *CarServiceLockCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceLockCarResult) Field0DeepEqual ¶
func (p *CarServiceLockCarResult) Field0DeepEqual(src *LockCarResponse) bool
func (*CarServiceLockCarResult) GetResult ¶
func (p *CarServiceLockCarResult) GetResult() interface{}
func (*CarServiceLockCarResult) GetSuccess ¶
func (p *CarServiceLockCarResult) GetSuccess() (v *LockCarResponse)
func (*CarServiceLockCarResult) InitDefault ¶
func (p *CarServiceLockCarResult) InitDefault()
func (*CarServiceLockCarResult) IsSetSuccess ¶
func (p *CarServiceLockCarResult) IsSetSuccess() bool
func (*CarServiceLockCarResult) Read ¶
func (p *CarServiceLockCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceLockCarResult) ReadField0 ¶
func (p *CarServiceLockCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceLockCarResult) SetSuccess ¶
func (p *CarServiceLockCarResult) SetSuccess(x interface{})
func (*CarServiceLockCarResult) String ¶
func (p *CarServiceLockCarResult) String() string
type CarServiceProcessor ¶
type CarServiceProcessor struct {
// contains filtered or unexported fields
}
func NewCarServiceProcessor ¶
func NewCarServiceProcessor(handler CarService) *CarServiceProcessor
func (*CarServiceProcessor) AddToProcessorMap ¶
func (p *CarServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*CarServiceProcessor) GetProcessorFunction ¶
func (p *CarServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*CarServiceProcessor) Process ¶
func (p *CarServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*CarServiceProcessor) ProcessorMap ¶
func (p *CarServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type CarServiceUnlockCarArgs ¶
type CarServiceUnlockCarArgs struct {
Req *UnlockCarRequest `thrift:"req,1" frugal:"1,default,UnlockCarRequest" json:"req"`
}
func NewCarServiceUnlockCarArgs ¶
func NewCarServiceUnlockCarArgs() *CarServiceUnlockCarArgs
func (*CarServiceUnlockCarArgs) BLength ¶
func (p *CarServiceUnlockCarArgs) BLength() int
func (*CarServiceUnlockCarArgs) DeepEqual ¶
func (p *CarServiceUnlockCarArgs) DeepEqual(ano *CarServiceUnlockCarArgs) bool
func (*CarServiceUnlockCarArgs) FastRead ¶
func (p *CarServiceUnlockCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceUnlockCarArgs) FastReadField1 ¶
func (p *CarServiceUnlockCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceUnlockCarArgs) FastWrite ¶
func (p *CarServiceUnlockCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceUnlockCarArgs) FastWriteNocopy ¶
func (p *CarServiceUnlockCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceUnlockCarArgs) Field1DeepEqual ¶
func (p *CarServiceUnlockCarArgs) Field1DeepEqual(src *UnlockCarRequest) bool
func (*CarServiceUnlockCarArgs) GetFirstArgument ¶
func (p *CarServiceUnlockCarArgs) GetFirstArgument() interface{}
func (*CarServiceUnlockCarArgs) GetReq ¶
func (p *CarServiceUnlockCarArgs) GetReq() (v *UnlockCarRequest)
func (*CarServiceUnlockCarArgs) InitDefault ¶
func (p *CarServiceUnlockCarArgs) InitDefault()
func (*CarServiceUnlockCarArgs) IsSetReq ¶
func (p *CarServiceUnlockCarArgs) IsSetReq() bool
func (*CarServiceUnlockCarArgs) Read ¶
func (p *CarServiceUnlockCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceUnlockCarArgs) ReadField1 ¶
func (p *CarServiceUnlockCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceUnlockCarArgs) SetReq ¶
func (p *CarServiceUnlockCarArgs) SetReq(val *UnlockCarRequest)
func (*CarServiceUnlockCarArgs) String ¶
func (p *CarServiceUnlockCarArgs) String() string
type CarServiceUnlockCarResult ¶
type CarServiceUnlockCarResult struct {
Success *UnlockCarResponse `thrift:"success,0,optional" frugal:"0,optional,UnlockCarResponse" json:"success,omitempty"`
}
func NewCarServiceUnlockCarResult ¶
func NewCarServiceUnlockCarResult() *CarServiceUnlockCarResult
func (*CarServiceUnlockCarResult) BLength ¶
func (p *CarServiceUnlockCarResult) BLength() int
func (*CarServiceUnlockCarResult) DeepEqual ¶
func (p *CarServiceUnlockCarResult) DeepEqual(ano *CarServiceUnlockCarResult) bool
func (*CarServiceUnlockCarResult) FastRead ¶
func (p *CarServiceUnlockCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceUnlockCarResult) FastReadField0 ¶
func (p *CarServiceUnlockCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceUnlockCarResult) FastWrite ¶
func (p *CarServiceUnlockCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceUnlockCarResult) FastWriteNocopy ¶
func (p *CarServiceUnlockCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceUnlockCarResult) Field0DeepEqual ¶
func (p *CarServiceUnlockCarResult) Field0DeepEqual(src *UnlockCarResponse) bool
func (*CarServiceUnlockCarResult) GetResult ¶
func (p *CarServiceUnlockCarResult) GetResult() interface{}
func (*CarServiceUnlockCarResult) GetSuccess ¶
func (p *CarServiceUnlockCarResult) GetSuccess() (v *UnlockCarResponse)
func (*CarServiceUnlockCarResult) InitDefault ¶
func (p *CarServiceUnlockCarResult) InitDefault()
func (*CarServiceUnlockCarResult) IsSetSuccess ¶
func (p *CarServiceUnlockCarResult) IsSetSuccess() bool
func (*CarServiceUnlockCarResult) Read ¶
func (p *CarServiceUnlockCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceUnlockCarResult) ReadField0 ¶
func (p *CarServiceUnlockCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceUnlockCarResult) SetSuccess ¶
func (p *CarServiceUnlockCarResult) SetSuccess(x interface{})
func (*CarServiceUnlockCarResult) String ¶
func (p *CarServiceUnlockCarResult) String() string
type CarServiceUpdateCarArgs ¶
type CarServiceUpdateCarArgs struct {
Req *UpdateCarRequest `thrift:"req,1" frugal:"1,default,UpdateCarRequest" json:"req"`
}
func NewCarServiceUpdateCarArgs ¶
func NewCarServiceUpdateCarArgs() *CarServiceUpdateCarArgs
func (*CarServiceUpdateCarArgs) BLength ¶
func (p *CarServiceUpdateCarArgs) BLength() int
func (*CarServiceUpdateCarArgs) DeepEqual ¶
func (p *CarServiceUpdateCarArgs) DeepEqual(ano *CarServiceUpdateCarArgs) bool
func (*CarServiceUpdateCarArgs) FastRead ¶
func (p *CarServiceUpdateCarArgs) FastRead(buf []byte) (int, error)
func (*CarServiceUpdateCarArgs) FastReadField1 ¶
func (p *CarServiceUpdateCarArgs) FastReadField1(buf []byte) (int, error)
func (*CarServiceUpdateCarArgs) FastWrite ¶
func (p *CarServiceUpdateCarArgs) FastWrite(buf []byte) int
for compatibility
func (*CarServiceUpdateCarArgs) FastWriteNocopy ¶
func (p *CarServiceUpdateCarArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceUpdateCarArgs) Field1DeepEqual ¶
func (p *CarServiceUpdateCarArgs) Field1DeepEqual(src *UpdateCarRequest) bool
func (*CarServiceUpdateCarArgs) GetFirstArgument ¶
func (p *CarServiceUpdateCarArgs) GetFirstArgument() interface{}
func (*CarServiceUpdateCarArgs) GetReq ¶
func (p *CarServiceUpdateCarArgs) GetReq() (v *UpdateCarRequest)
func (*CarServiceUpdateCarArgs) InitDefault ¶
func (p *CarServiceUpdateCarArgs) InitDefault()
func (*CarServiceUpdateCarArgs) IsSetReq ¶
func (p *CarServiceUpdateCarArgs) IsSetReq() bool
func (*CarServiceUpdateCarArgs) Read ¶
func (p *CarServiceUpdateCarArgs) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceUpdateCarArgs) ReadField1 ¶
func (p *CarServiceUpdateCarArgs) ReadField1(iprot thrift.TProtocol) error
func (*CarServiceUpdateCarArgs) SetReq ¶
func (p *CarServiceUpdateCarArgs) SetReq(val *UpdateCarRequest)
func (*CarServiceUpdateCarArgs) String ¶
func (p *CarServiceUpdateCarArgs) String() string
type CarServiceUpdateCarResult ¶
type CarServiceUpdateCarResult struct {
Success *UpdateCarResponse `thrift:"success,0,optional" frugal:"0,optional,UpdateCarResponse" json:"success,omitempty"`
}
func NewCarServiceUpdateCarResult ¶
func NewCarServiceUpdateCarResult() *CarServiceUpdateCarResult
func (*CarServiceUpdateCarResult) BLength ¶
func (p *CarServiceUpdateCarResult) BLength() int
func (*CarServiceUpdateCarResult) DeepEqual ¶
func (p *CarServiceUpdateCarResult) DeepEqual(ano *CarServiceUpdateCarResult) bool
func (*CarServiceUpdateCarResult) FastRead ¶
func (p *CarServiceUpdateCarResult) FastRead(buf []byte) (int, error)
func (*CarServiceUpdateCarResult) FastReadField0 ¶
func (p *CarServiceUpdateCarResult) FastReadField0(buf []byte) (int, error)
func (*CarServiceUpdateCarResult) FastWrite ¶
func (p *CarServiceUpdateCarResult) FastWrite(buf []byte) int
for compatibility
func (*CarServiceUpdateCarResult) FastWriteNocopy ¶
func (p *CarServiceUpdateCarResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CarServiceUpdateCarResult) Field0DeepEqual ¶
func (p *CarServiceUpdateCarResult) Field0DeepEqual(src *UpdateCarResponse) bool
func (*CarServiceUpdateCarResult) GetResult ¶
func (p *CarServiceUpdateCarResult) GetResult() interface{}
func (*CarServiceUpdateCarResult) GetSuccess ¶
func (p *CarServiceUpdateCarResult) GetSuccess() (v *UpdateCarResponse)
func (*CarServiceUpdateCarResult) InitDefault ¶
func (p *CarServiceUpdateCarResult) InitDefault()
func (*CarServiceUpdateCarResult) IsSetSuccess ¶
func (p *CarServiceUpdateCarResult) IsSetSuccess() bool
func (*CarServiceUpdateCarResult) Read ¶
func (p *CarServiceUpdateCarResult) Read(iprot thrift.TProtocol) (err error)
func (*CarServiceUpdateCarResult) ReadField0 ¶
func (p *CarServiceUpdateCarResult) ReadField0(iprot thrift.TProtocol) error
func (*CarServiceUpdateCarResult) SetSuccess ¶
func (p *CarServiceUpdateCarResult) SetSuccess(x interface{})
func (*CarServiceUpdateCarResult) String ¶
func (p *CarServiceUpdateCarResult) String() string
type CreateCarRequest ¶
type CreateCarRequest struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` PlateNum string `thrift:"plate_num,2" frugal:"2,default,string" json:"plate_num"` }
var CarServiceCreateCarArgs_Req_DEFAULT *CreateCarRequest
func NewCreateCarRequest ¶
func NewCreateCarRequest() *CreateCarRequest
func (*CreateCarRequest) BLength ¶
func (p *CreateCarRequest) BLength() int
func (*CreateCarRequest) DeepEqual ¶
func (p *CreateCarRequest) DeepEqual(ano *CreateCarRequest) bool
func (*CreateCarRequest) FastReadField1 ¶
func (p *CreateCarRequest) FastReadField1(buf []byte) (int, error)
func (*CreateCarRequest) FastReadField2 ¶
func (p *CreateCarRequest) FastReadField2(buf []byte) (int, error)
func (*CreateCarRequest) FastWrite ¶
func (p *CreateCarRequest) FastWrite(buf []byte) int
for compatibility
func (*CreateCarRequest) FastWriteNocopy ¶
func (p *CreateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateCarRequest) Field1DeepEqual ¶
func (p *CreateCarRequest) Field1DeepEqual(src string) bool
func (*CreateCarRequest) Field2DeepEqual ¶
func (p *CreateCarRequest) Field2DeepEqual(src string) bool
func (*CreateCarRequest) GetAccountId ¶
func (p *CreateCarRequest) GetAccountId() (v string)
func (*CreateCarRequest) GetPlateNum ¶
func (p *CreateCarRequest) GetPlateNum() (v string)
func (*CreateCarRequest) InitDefault ¶
func (p *CreateCarRequest) InitDefault()
func (*CreateCarRequest) ReadField1 ¶
func (p *CreateCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*CreateCarRequest) ReadField2 ¶
func (p *CreateCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*CreateCarRequest) SetAccountId ¶
func (p *CreateCarRequest) SetAccountId(val string)
func (*CreateCarRequest) SetPlateNum ¶
func (p *CreateCarRequest) SetPlateNum(val string)
func (*CreateCarRequest) String ¶
func (p *CreateCarRequest) String() string
type CreateCarResponse ¶
type CreateCarResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` CarEntity *base.CarEntity `thrift:"car_entity,2" frugal:"2,default,base.CarEntity" json:"car_entity"` }
var CarServiceCreateCarResult_Success_DEFAULT *CreateCarResponse
func NewCreateCarResponse ¶
func NewCreateCarResponse() *CreateCarResponse
func (*CreateCarResponse) BLength ¶
func (p *CreateCarResponse) BLength() int
func (*CreateCarResponse) DeepEqual ¶
func (p *CreateCarResponse) DeepEqual(ano *CreateCarResponse) bool
func (*CreateCarResponse) FastReadField1 ¶
func (p *CreateCarResponse) FastReadField1(buf []byte) (int, error)
func (*CreateCarResponse) FastReadField2 ¶
func (p *CreateCarResponse) FastReadField2(buf []byte) (int, error)
func (*CreateCarResponse) FastWrite ¶
func (p *CreateCarResponse) FastWrite(buf []byte) int
for compatibility
func (*CreateCarResponse) FastWriteNocopy ¶
func (p *CreateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CreateCarResponse) Field1DeepEqual ¶
func (p *CreateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*CreateCarResponse) Field2DeepEqual ¶
func (p *CreateCarResponse) Field2DeepEqual(src *base.CarEntity) bool
func (*CreateCarResponse) GetBaseResp ¶
func (p *CreateCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*CreateCarResponse) GetCarEntity ¶
func (p *CreateCarResponse) GetCarEntity() (v *base.CarEntity)
func (*CreateCarResponse) InitDefault ¶
func (p *CreateCarResponse) InitDefault()
func (*CreateCarResponse) IsSetBaseResp ¶
func (p *CreateCarResponse) IsSetBaseResp() bool
func (*CreateCarResponse) IsSetCarEntity ¶
func (p *CreateCarResponse) IsSetCarEntity() bool
func (*CreateCarResponse) Read ¶
func (p *CreateCarResponse) Read(iprot thrift.TProtocol) (err error)
func (*CreateCarResponse) ReadField1 ¶
func (p *CreateCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*CreateCarResponse) ReadField2 ¶
func (p *CreateCarResponse) ReadField2(iprot thrift.TProtocol) error
func (*CreateCarResponse) SetBaseResp ¶
func (p *CreateCarResponse) SetBaseResp(val *base.BaseResponse)
func (*CreateCarResponse) SetCarEntity ¶
func (p *CreateCarResponse) SetCarEntity(val *base.CarEntity)
func (*CreateCarResponse) String ¶
func (p *CreateCarResponse) String() string
type DeleteCarRequest ¶
type DeleteCarRequest struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` Id string `thrift:"id,2" frugal:"2,default,string" json:"id"` }
var CarServiceDeleteCarArgs_Req_DEFAULT *DeleteCarRequest
func NewDeleteCarRequest ¶
func NewDeleteCarRequest() *DeleteCarRequest
func (*DeleteCarRequest) BLength ¶
func (p *DeleteCarRequest) BLength() int
func (*DeleteCarRequest) DeepEqual ¶
func (p *DeleteCarRequest) DeepEqual(ano *DeleteCarRequest) bool
func (*DeleteCarRequest) FastReadField1 ¶
func (p *DeleteCarRequest) FastReadField1(buf []byte) (int, error)
func (*DeleteCarRequest) FastReadField2 ¶
func (p *DeleteCarRequest) FastReadField2(buf []byte) (int, error)
func (*DeleteCarRequest) FastWrite ¶
func (p *DeleteCarRequest) FastWrite(buf []byte) int
for compatibility
func (*DeleteCarRequest) FastWriteNocopy ¶
func (p *DeleteCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteCarRequest) Field1DeepEqual ¶
func (p *DeleteCarRequest) Field1DeepEqual(src string) bool
func (*DeleteCarRequest) Field2DeepEqual ¶
func (p *DeleteCarRequest) Field2DeepEqual(src string) bool
func (*DeleteCarRequest) GetAccountId ¶
func (p *DeleteCarRequest) GetAccountId() (v string)
func (*DeleteCarRequest) GetId ¶
func (p *DeleteCarRequest) GetId() (v string)
func (*DeleteCarRequest) InitDefault ¶
func (p *DeleteCarRequest) InitDefault()
func (*DeleteCarRequest) ReadField1 ¶
func (p *DeleteCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*DeleteCarRequest) ReadField2 ¶
func (p *DeleteCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*DeleteCarRequest) SetAccountId ¶
func (p *DeleteCarRequest) SetAccountId(val string)
func (*DeleteCarRequest) SetId ¶
func (p *DeleteCarRequest) SetId(val string)
func (*DeleteCarRequest) String ¶
func (p *DeleteCarRequest) String() string
type DeleteCarResponse ¶
type DeleteCarResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var CarServiceDeleteCarResult_Success_DEFAULT *DeleteCarResponse
func NewDeleteCarResponse ¶
func NewDeleteCarResponse() *DeleteCarResponse
func (*DeleteCarResponse) BLength ¶
func (p *DeleteCarResponse) BLength() int
func (*DeleteCarResponse) DeepEqual ¶
func (p *DeleteCarResponse) DeepEqual(ano *DeleteCarResponse) bool
func (*DeleteCarResponse) FastReadField1 ¶
func (p *DeleteCarResponse) FastReadField1(buf []byte) (int, error)
func (*DeleteCarResponse) FastWrite ¶
func (p *DeleteCarResponse) FastWrite(buf []byte) int
for compatibility
func (*DeleteCarResponse) FastWriteNocopy ¶
func (p *DeleteCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*DeleteCarResponse) Field1DeepEqual ¶
func (p *DeleteCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*DeleteCarResponse) GetBaseResp ¶
func (p *DeleteCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*DeleteCarResponse) InitDefault ¶
func (p *DeleteCarResponse) InitDefault()
func (*DeleteCarResponse) IsSetBaseResp ¶
func (p *DeleteCarResponse) IsSetBaseResp() bool
func (*DeleteCarResponse) Read ¶
func (p *DeleteCarResponse) Read(iprot thrift.TProtocol) (err error)
func (*DeleteCarResponse) ReadField1 ¶
func (p *DeleteCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*DeleteCarResponse) SetBaseResp ¶
func (p *DeleteCarResponse) SetBaseResp(val *base.BaseResponse)
func (*DeleteCarResponse) String ¶
func (p *DeleteCarResponse) String() string
type GetAllCarsRequest ¶
type GetAllCarsRequest struct {
AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
}
var CarServiceGetAllCarsArgs_Req_DEFAULT *GetAllCarsRequest
func NewGetAllCarsRequest ¶
func NewGetAllCarsRequest() *GetAllCarsRequest
func (*GetAllCarsRequest) BLength ¶
func (p *GetAllCarsRequest) BLength() int
func (*GetAllCarsRequest) DeepEqual ¶
func (p *GetAllCarsRequest) DeepEqual(ano *GetAllCarsRequest) bool
func (*GetAllCarsRequest) FastReadField1 ¶
func (p *GetAllCarsRequest) FastReadField1(buf []byte) (int, error)
func (*GetAllCarsRequest) FastWrite ¶
func (p *GetAllCarsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetAllCarsRequest) FastWriteNocopy ¶
func (p *GetAllCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllCarsRequest) Field1DeepEqual ¶
func (p *GetAllCarsRequest) Field1DeepEqual(src string) bool
func (*GetAllCarsRequest) GetAccountId ¶
func (p *GetAllCarsRequest) GetAccountId() (v string)
func (*GetAllCarsRequest) InitDefault ¶
func (p *GetAllCarsRequest) InitDefault()
func (*GetAllCarsRequest) Read ¶
func (p *GetAllCarsRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetAllCarsRequest) ReadField1 ¶
func (p *GetAllCarsRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetAllCarsRequest) SetAccountId ¶
func (p *GetAllCarsRequest) SetAccountId(val string)
func (*GetAllCarsRequest) String ¶
func (p *GetAllCarsRequest) String() string
type GetAllCarsResponse ¶
type GetAllCarsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Cars []*base.CarEntity `thrift:"cars,2" frugal:"2,default,list<base.CarEntity>" json:"cars"` }
var CarServiceGetAllCarsResult_Success_DEFAULT *GetAllCarsResponse
func NewGetAllCarsResponse ¶
func NewGetAllCarsResponse() *GetAllCarsResponse
func (*GetAllCarsResponse) BLength ¶
func (p *GetAllCarsResponse) BLength() int
func (*GetAllCarsResponse) DeepEqual ¶
func (p *GetAllCarsResponse) DeepEqual(ano *GetAllCarsResponse) bool
func (*GetAllCarsResponse) FastRead ¶
func (p *GetAllCarsResponse) FastRead(buf []byte) (int, error)
func (*GetAllCarsResponse) FastReadField1 ¶
func (p *GetAllCarsResponse) FastReadField1(buf []byte) (int, error)
func (*GetAllCarsResponse) FastReadField2 ¶
func (p *GetAllCarsResponse) FastReadField2(buf []byte) (int, error)
func (*GetAllCarsResponse) FastWrite ¶
func (p *GetAllCarsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetAllCarsResponse) FastWriteNocopy ¶
func (p *GetAllCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetAllCarsResponse) Field1DeepEqual ¶
func (p *GetAllCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetAllCarsResponse) Field2DeepEqual ¶
func (p *GetAllCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
func (*GetAllCarsResponse) GetBaseResp ¶
func (p *GetAllCarsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetAllCarsResponse) GetCars ¶
func (p *GetAllCarsResponse) GetCars() (v []*base.CarEntity)
func (*GetAllCarsResponse) InitDefault ¶
func (p *GetAllCarsResponse) InitDefault()
func (*GetAllCarsResponse) IsSetBaseResp ¶
func (p *GetAllCarsResponse) IsSetBaseResp() bool
func (*GetAllCarsResponse) Read ¶
func (p *GetAllCarsResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetAllCarsResponse) ReadField1 ¶
func (p *GetAllCarsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetAllCarsResponse) ReadField2 ¶
func (p *GetAllCarsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetAllCarsResponse) SetBaseResp ¶
func (p *GetAllCarsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetAllCarsResponse) SetCars ¶
func (p *GetAllCarsResponse) SetCars(val []*base.CarEntity)
func (*GetAllCarsResponse) String ¶
func (p *GetAllCarsResponse) String() string
type GetCarRequest ¶
type GetCarRequest struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` Id string `thrift:"id,2" frugal:"2,default,string" json:"id"` }
var CarServiceGetCarArgs_Req_DEFAULT *GetCarRequest
func NewGetCarRequest ¶
func NewGetCarRequest() *GetCarRequest
func (*GetCarRequest) BLength ¶
func (p *GetCarRequest) BLength() int
func (*GetCarRequest) DeepEqual ¶
func (p *GetCarRequest) DeepEqual(ano *GetCarRequest) bool
func (*GetCarRequest) FastReadField1 ¶
func (p *GetCarRequest) FastReadField1(buf []byte) (int, error)
func (*GetCarRequest) FastReadField2 ¶
func (p *GetCarRequest) FastReadField2(buf []byte) (int, error)
func (*GetCarRequest) FastWrite ¶
func (p *GetCarRequest) FastWrite(buf []byte) int
for compatibility
func (*GetCarRequest) FastWriteNocopy ¶
func (p *GetCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetCarRequest) Field1DeepEqual ¶
func (p *GetCarRequest) Field1DeepEqual(src string) bool
func (*GetCarRequest) Field2DeepEqual ¶
func (p *GetCarRequest) Field2DeepEqual(src string) bool
func (*GetCarRequest) GetAccountId ¶
func (p *GetCarRequest) GetAccountId() (v string)
func (*GetCarRequest) GetId ¶
func (p *GetCarRequest) GetId() (v string)
func (*GetCarRequest) InitDefault ¶
func (p *GetCarRequest) InitDefault()
func (*GetCarRequest) ReadField1 ¶
func (p *GetCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetCarRequest) ReadField2 ¶
func (p *GetCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*GetCarRequest) SetAccountId ¶
func (p *GetCarRequest) SetAccountId(val string)
func (*GetCarRequest) SetId ¶
func (p *GetCarRequest) SetId(val string)
func (*GetCarRequest) String ¶
func (p *GetCarRequest) String() string
type GetCarResponse ¶
type GetCarResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Car *base.Car `thrift:"car,2" frugal:"2,default,base.Car" json:"car"` }
var CarServiceGetCarResult_Success_DEFAULT *GetCarResponse
func NewGetCarResponse ¶
func NewGetCarResponse() *GetCarResponse
func (*GetCarResponse) BLength ¶
func (p *GetCarResponse) BLength() int
func (*GetCarResponse) DeepEqual ¶
func (p *GetCarResponse) DeepEqual(ano *GetCarResponse) bool
func (*GetCarResponse) FastReadField1 ¶
func (p *GetCarResponse) FastReadField1(buf []byte) (int, error)
func (*GetCarResponse) FastReadField2 ¶
func (p *GetCarResponse) FastReadField2(buf []byte) (int, error)
func (*GetCarResponse) FastWrite ¶
func (p *GetCarResponse) FastWrite(buf []byte) int
for compatibility
func (*GetCarResponse) FastWriteNocopy ¶
func (p *GetCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetCarResponse) Field1DeepEqual ¶
func (p *GetCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetCarResponse) Field2DeepEqual ¶
func (p *GetCarResponse) Field2DeepEqual(src *base.Car) bool
func (*GetCarResponse) GetBaseResp ¶
func (p *GetCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetCarResponse) GetCar ¶
func (p *GetCarResponse) GetCar() (v *base.Car)
func (*GetCarResponse) InitDefault ¶
func (p *GetCarResponse) InitDefault()
func (*GetCarResponse) IsSetBaseResp ¶
func (p *GetCarResponse) IsSetBaseResp() bool
func (*GetCarResponse) IsSetCar ¶
func (p *GetCarResponse) IsSetCar() bool
func (*GetCarResponse) ReadField1 ¶
func (p *GetCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetCarResponse) ReadField2 ¶
func (p *GetCarResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetCarResponse) SetBaseResp ¶
func (p *GetCarResponse) SetBaseResp(val *base.BaseResponse)
func (*GetCarResponse) SetCar ¶
func (p *GetCarResponse) SetCar(val *base.Car)
func (*GetCarResponse) String ¶
func (p *GetCarResponse) String() string
type GetCarsRequest ¶
type GetCarsRequest struct {
AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
}
var CarServiceGetCarsArgs_Req_DEFAULT *GetCarsRequest
func NewGetCarsRequest ¶
func NewGetCarsRequest() *GetCarsRequest
func (*GetCarsRequest) BLength ¶
func (p *GetCarsRequest) BLength() int
func (*GetCarsRequest) DeepEqual ¶
func (p *GetCarsRequest) DeepEqual(ano *GetCarsRequest) bool
func (*GetCarsRequest) FastReadField1 ¶
func (p *GetCarsRequest) FastReadField1(buf []byte) (int, error)
func (*GetCarsRequest) FastWrite ¶
func (p *GetCarsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetCarsRequest) FastWriteNocopy ¶
func (p *GetCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetCarsRequest) Field1DeepEqual ¶
func (p *GetCarsRequest) Field1DeepEqual(src string) bool
func (*GetCarsRequest) GetAccountId ¶
func (p *GetCarsRequest) GetAccountId() (v string)
func (*GetCarsRequest) InitDefault ¶
func (p *GetCarsRequest) InitDefault()
func (*GetCarsRequest) ReadField1 ¶
func (p *GetCarsRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetCarsRequest) SetAccountId ¶
func (p *GetCarsRequest) SetAccountId(val string)
func (*GetCarsRequest) String ¶
func (p *GetCarsRequest) String() string
type GetCarsResponse ¶
type GetCarsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Cars []*base.CarEntity `thrift:"cars,2" frugal:"2,default,list<base.CarEntity>" json:"cars"` }
var CarServiceGetCarsResult_Success_DEFAULT *GetCarsResponse
func NewGetCarsResponse ¶
func NewGetCarsResponse() *GetCarsResponse
func (*GetCarsResponse) BLength ¶
func (p *GetCarsResponse) BLength() int
func (*GetCarsResponse) DeepEqual ¶
func (p *GetCarsResponse) DeepEqual(ano *GetCarsResponse) bool
func (*GetCarsResponse) FastReadField1 ¶
func (p *GetCarsResponse) FastReadField1(buf []byte) (int, error)
func (*GetCarsResponse) FastReadField2 ¶
func (p *GetCarsResponse) FastReadField2(buf []byte) (int, error)
func (*GetCarsResponse) FastWrite ¶
func (p *GetCarsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetCarsResponse) FastWriteNocopy ¶
func (p *GetCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetCarsResponse) Field1DeepEqual ¶
func (p *GetCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetCarsResponse) Field2DeepEqual ¶
func (p *GetCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
func (*GetCarsResponse) GetBaseResp ¶
func (p *GetCarsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetCarsResponse) GetCars ¶
func (p *GetCarsResponse) GetCars() (v []*base.CarEntity)
func (*GetCarsResponse) InitDefault ¶
func (p *GetCarsResponse) InitDefault()
func (*GetCarsResponse) IsSetBaseResp ¶
func (p *GetCarsResponse) IsSetBaseResp() bool
func (*GetCarsResponse) ReadField1 ¶
func (p *GetCarsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetCarsResponse) ReadField2 ¶
func (p *GetCarsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetCarsResponse) SetBaseResp ¶
func (p *GetCarsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetCarsResponse) SetCars ¶
func (p *GetCarsResponse) SetCars(val []*base.CarEntity)
func (*GetCarsResponse) String ¶
func (p *GetCarsResponse) String() string
type GetSomeCarsRequest ¶
type GetSomeCarsRequest struct {
AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"`
}
var CarServiceGetSomeCarsArgs_Req_DEFAULT *GetSomeCarsRequest
func NewGetSomeCarsRequest ¶
func NewGetSomeCarsRequest() *GetSomeCarsRequest
func (*GetSomeCarsRequest) BLength ¶
func (p *GetSomeCarsRequest) BLength() int
func (*GetSomeCarsRequest) DeepEqual ¶
func (p *GetSomeCarsRequest) DeepEqual(ano *GetSomeCarsRequest) bool
func (*GetSomeCarsRequest) FastRead ¶
func (p *GetSomeCarsRequest) FastRead(buf []byte) (int, error)
func (*GetSomeCarsRequest) FastReadField1 ¶
func (p *GetSomeCarsRequest) FastReadField1(buf []byte) (int, error)
func (*GetSomeCarsRequest) FastWrite ¶
func (p *GetSomeCarsRequest) FastWrite(buf []byte) int
for compatibility
func (*GetSomeCarsRequest) FastWriteNocopy ¶
func (p *GetSomeCarsRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeCarsRequest) Field1DeepEqual ¶
func (p *GetSomeCarsRequest) Field1DeepEqual(src string) bool
func (*GetSomeCarsRequest) GetAccountId ¶
func (p *GetSomeCarsRequest) GetAccountId() (v string)
func (*GetSomeCarsRequest) InitDefault ¶
func (p *GetSomeCarsRequest) InitDefault()
func (*GetSomeCarsRequest) Read ¶
func (p *GetSomeCarsRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeCarsRequest) ReadField1 ¶
func (p *GetSomeCarsRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetSomeCarsRequest) SetAccountId ¶
func (p *GetSomeCarsRequest) SetAccountId(val string)
func (*GetSomeCarsRequest) String ¶
func (p *GetSomeCarsRequest) String() string
type GetSomeCarsResponse ¶
type GetSomeCarsResponse struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Cars []*base.CarEntity `thrift:"cars,2" frugal:"2,default,list<base.CarEntity>" json:"cars"` }
var CarServiceGetSomeCarsResult_Success_DEFAULT *GetSomeCarsResponse
func NewGetSomeCarsResponse ¶
func NewGetSomeCarsResponse() *GetSomeCarsResponse
func (*GetSomeCarsResponse) BLength ¶
func (p *GetSomeCarsResponse) BLength() int
func (*GetSomeCarsResponse) DeepEqual ¶
func (p *GetSomeCarsResponse) DeepEqual(ano *GetSomeCarsResponse) bool
func (*GetSomeCarsResponse) FastRead ¶
func (p *GetSomeCarsResponse) FastRead(buf []byte) (int, error)
func (*GetSomeCarsResponse) FastReadField1 ¶
func (p *GetSomeCarsResponse) FastReadField1(buf []byte) (int, error)
func (*GetSomeCarsResponse) FastReadField2 ¶
func (p *GetSomeCarsResponse) FastReadField2(buf []byte) (int, error)
func (*GetSomeCarsResponse) FastWrite ¶
func (p *GetSomeCarsResponse) FastWrite(buf []byte) int
for compatibility
func (*GetSomeCarsResponse) FastWriteNocopy ¶
func (p *GetSomeCarsResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetSomeCarsResponse) Field1DeepEqual ¶
func (p *GetSomeCarsResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*GetSomeCarsResponse) Field2DeepEqual ¶
func (p *GetSomeCarsResponse) Field2DeepEqual(src []*base.CarEntity) bool
func (*GetSomeCarsResponse) GetBaseResp ¶
func (p *GetSomeCarsResponse) GetBaseResp() (v *base.BaseResponse)
func (*GetSomeCarsResponse) GetCars ¶
func (p *GetSomeCarsResponse) GetCars() (v []*base.CarEntity)
func (*GetSomeCarsResponse) InitDefault ¶
func (p *GetSomeCarsResponse) InitDefault()
func (*GetSomeCarsResponse) IsSetBaseResp ¶
func (p *GetSomeCarsResponse) IsSetBaseResp() bool
func (*GetSomeCarsResponse) Read ¶
func (p *GetSomeCarsResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetSomeCarsResponse) ReadField1 ¶
func (p *GetSomeCarsResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetSomeCarsResponse) ReadField2 ¶
func (p *GetSomeCarsResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetSomeCarsResponse) SetBaseResp ¶
func (p *GetSomeCarsResponse) SetBaseResp(val *base.BaseResponse)
func (*GetSomeCarsResponse) SetCars ¶
func (p *GetSomeCarsResponse) SetCars(val []*base.CarEntity)
func (*GetSomeCarsResponse) String ¶
func (p *GetSomeCarsResponse) String() string
type LockCarRequest ¶
type LockCarRequest struct { AccountId string `thrift:"account_id,1" frugal:"1,default,string" json:"account_id"` Id string `thrift:"id,2" frugal:"2,default,string" json:"id"` }
var CarServiceLockCarArgs_Req_DEFAULT *LockCarRequest
func NewLockCarRequest ¶
func NewLockCarRequest() *LockCarRequest
func (*LockCarRequest) BLength ¶
func (p *LockCarRequest) BLength() int
func (*LockCarRequest) DeepEqual ¶
func (p *LockCarRequest) DeepEqual(ano *LockCarRequest) bool
func (*LockCarRequest) FastReadField1 ¶
func (p *LockCarRequest) FastReadField1(buf []byte) (int, error)
func (*LockCarRequest) FastReadField2 ¶
func (p *LockCarRequest) FastReadField2(buf []byte) (int, error)
func (*LockCarRequest) FastWrite ¶
func (p *LockCarRequest) FastWrite(buf []byte) int
for compatibility
func (*LockCarRequest) FastWriteNocopy ¶
func (p *LockCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LockCarRequest) Field1DeepEqual ¶
func (p *LockCarRequest) Field1DeepEqual(src string) bool
func (*LockCarRequest) Field2DeepEqual ¶
func (p *LockCarRequest) Field2DeepEqual(src string) bool
func (*LockCarRequest) GetAccountId ¶
func (p *LockCarRequest) GetAccountId() (v string)
func (*LockCarRequest) GetId ¶
func (p *LockCarRequest) GetId() (v string)
func (*LockCarRequest) InitDefault ¶
func (p *LockCarRequest) InitDefault()
func (*LockCarRequest) ReadField1 ¶
func (p *LockCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*LockCarRequest) ReadField2 ¶
func (p *LockCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*LockCarRequest) SetAccountId ¶
func (p *LockCarRequest) SetAccountId(val string)
func (*LockCarRequest) SetId ¶
func (p *LockCarRequest) SetId(val string)
func (*LockCarRequest) String ¶
func (p *LockCarRequest) String() string
type LockCarResponse ¶
type LockCarResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var CarServiceLockCarResult_Success_DEFAULT *LockCarResponse
func NewLockCarResponse ¶
func NewLockCarResponse() *LockCarResponse
func (*LockCarResponse) BLength ¶
func (p *LockCarResponse) BLength() int
func (*LockCarResponse) DeepEqual ¶
func (p *LockCarResponse) DeepEqual(ano *LockCarResponse) bool
func (*LockCarResponse) FastReadField1 ¶
func (p *LockCarResponse) FastReadField1(buf []byte) (int, error)
func (*LockCarResponse) FastWrite ¶
func (p *LockCarResponse) FastWrite(buf []byte) int
for compatibility
func (*LockCarResponse) FastWriteNocopy ¶
func (p *LockCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LockCarResponse) Field1DeepEqual ¶
func (p *LockCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*LockCarResponse) GetBaseResp ¶
func (p *LockCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*LockCarResponse) InitDefault ¶
func (p *LockCarResponse) InitDefault()
func (*LockCarResponse) IsSetBaseResp ¶
func (p *LockCarResponse) IsSetBaseResp() bool
func (*LockCarResponse) ReadField1 ¶
func (p *LockCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*LockCarResponse) SetBaseResp ¶
func (p *LockCarResponse) SetBaseResp(val *base.BaseResponse)
func (*LockCarResponse) String ¶
func (p *LockCarResponse) String() string
type UnlockCarRequest ¶
type UnlockCarRequest 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"` Driver *base.Driver `thrift:"driver,3" frugal:"3,default,base.Driver" json:"driver"` TripId string `thrift:"trip_id,4" frugal:"4,default,string" json:"trip_id"` }
var CarServiceUnlockCarArgs_Req_DEFAULT *UnlockCarRequest
func NewUnlockCarRequest ¶
func NewUnlockCarRequest() *UnlockCarRequest
func (*UnlockCarRequest) BLength ¶
func (p *UnlockCarRequest) BLength() int
func (*UnlockCarRequest) DeepEqual ¶
func (p *UnlockCarRequest) DeepEqual(ano *UnlockCarRequest) bool
func (*UnlockCarRequest) FastReadField1 ¶
func (p *UnlockCarRequest) FastReadField1(buf []byte) (int, error)
func (*UnlockCarRequest) FastReadField2 ¶
func (p *UnlockCarRequest) FastReadField2(buf []byte) (int, error)
func (*UnlockCarRequest) FastReadField3 ¶
func (p *UnlockCarRequest) FastReadField3(buf []byte) (int, error)
func (*UnlockCarRequest) FastReadField4 ¶
func (p *UnlockCarRequest) FastReadField4(buf []byte) (int, error)
func (*UnlockCarRequest) FastWrite ¶
func (p *UnlockCarRequest) FastWrite(buf []byte) int
for compatibility
func (*UnlockCarRequest) FastWriteNocopy ¶
func (p *UnlockCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UnlockCarRequest) Field1DeepEqual ¶
func (p *UnlockCarRequest) Field1DeepEqual(src string) bool
func (*UnlockCarRequest) Field2DeepEqual ¶
func (p *UnlockCarRequest) Field2DeepEqual(src string) bool
func (*UnlockCarRequest) Field3DeepEqual ¶
func (p *UnlockCarRequest) Field3DeepEqual(src *base.Driver) bool
func (*UnlockCarRequest) Field4DeepEqual ¶
func (p *UnlockCarRequest) Field4DeepEqual(src string) bool
func (*UnlockCarRequest) GetAccountId ¶
func (p *UnlockCarRequest) GetAccountId() (v string)
func (*UnlockCarRequest) GetDriver ¶
func (p *UnlockCarRequest) GetDriver() (v *base.Driver)
func (*UnlockCarRequest) GetId ¶
func (p *UnlockCarRequest) GetId() (v string)
func (*UnlockCarRequest) GetTripId ¶
func (p *UnlockCarRequest) GetTripId() (v string)
func (*UnlockCarRequest) InitDefault ¶
func (p *UnlockCarRequest) InitDefault()
func (*UnlockCarRequest) IsSetDriver ¶
func (p *UnlockCarRequest) IsSetDriver() bool
func (*UnlockCarRequest) ReadField1 ¶
func (p *UnlockCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*UnlockCarRequest) ReadField2 ¶
func (p *UnlockCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*UnlockCarRequest) ReadField3 ¶
func (p *UnlockCarRequest) ReadField3(iprot thrift.TProtocol) error
func (*UnlockCarRequest) ReadField4 ¶
func (p *UnlockCarRequest) ReadField4(iprot thrift.TProtocol) error
func (*UnlockCarRequest) SetAccountId ¶
func (p *UnlockCarRequest) SetAccountId(val string)
func (*UnlockCarRequest) SetDriver ¶
func (p *UnlockCarRequest) SetDriver(val *base.Driver)
func (*UnlockCarRequest) SetId ¶
func (p *UnlockCarRequest) SetId(val string)
func (*UnlockCarRequest) SetTripId ¶
func (p *UnlockCarRequest) SetTripId(val string)
func (*UnlockCarRequest) String ¶
func (p *UnlockCarRequest) String() string
type UnlockCarResponse ¶
type UnlockCarResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var CarServiceUnlockCarResult_Success_DEFAULT *UnlockCarResponse
func NewUnlockCarResponse ¶
func NewUnlockCarResponse() *UnlockCarResponse
func (*UnlockCarResponse) BLength ¶
func (p *UnlockCarResponse) BLength() int
func (*UnlockCarResponse) DeepEqual ¶
func (p *UnlockCarResponse) DeepEqual(ano *UnlockCarResponse) bool
func (*UnlockCarResponse) FastReadField1 ¶
func (p *UnlockCarResponse) FastReadField1(buf []byte) (int, error)
func (*UnlockCarResponse) FastWrite ¶
func (p *UnlockCarResponse) FastWrite(buf []byte) int
for compatibility
func (*UnlockCarResponse) FastWriteNocopy ¶
func (p *UnlockCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UnlockCarResponse) Field1DeepEqual ¶
func (p *UnlockCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*UnlockCarResponse) GetBaseResp ¶
func (p *UnlockCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*UnlockCarResponse) InitDefault ¶
func (p *UnlockCarResponse) InitDefault()
func (*UnlockCarResponse) IsSetBaseResp ¶
func (p *UnlockCarResponse) IsSetBaseResp() bool
func (*UnlockCarResponse) Read ¶
func (p *UnlockCarResponse) Read(iprot thrift.TProtocol) (err error)
func (*UnlockCarResponse) ReadField1 ¶
func (p *UnlockCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*UnlockCarResponse) SetBaseResp ¶
func (p *UnlockCarResponse) SetBaseResp(val *base.BaseResponse)
func (*UnlockCarResponse) String ¶
func (p *UnlockCarResponse) String() string
type UpdateCarRequest ¶
type UpdateCarRequest struct { Id string `thrift:"id,1" frugal:"1,default,string" json:"id"` Status base.CarStatus `thrift:"status,2" frugal:"2,default,CarStatus" json:"status"` Position *base.Position `thrift:"position,3" frugal:"3,default,base.Position" json:"position"` AccountId string `thrift:"account_id,4" frugal:"4,default,string" json:"account_id"` Power float64 `thrift:"power,5" frugal:"5,default,double" json:"power"` }
var CarServiceUpdateCarArgs_Req_DEFAULT *UpdateCarRequest
func NewUpdateCarRequest ¶
func NewUpdateCarRequest() *UpdateCarRequest
func (*UpdateCarRequest) BLength ¶
func (p *UpdateCarRequest) BLength() int
func (*UpdateCarRequest) DeepEqual ¶
func (p *UpdateCarRequest) DeepEqual(ano *UpdateCarRequest) bool
func (*UpdateCarRequest) FastReadField1 ¶
func (p *UpdateCarRequest) FastReadField1(buf []byte) (int, error)
func (*UpdateCarRequest) FastReadField2 ¶
func (p *UpdateCarRequest) FastReadField2(buf []byte) (int, error)
func (*UpdateCarRequest) FastReadField3 ¶
func (p *UpdateCarRequest) FastReadField3(buf []byte) (int, error)
func (*UpdateCarRequest) FastReadField4 ¶
func (p *UpdateCarRequest) FastReadField4(buf []byte) (int, error)
func (*UpdateCarRequest) FastReadField5 ¶
func (p *UpdateCarRequest) FastReadField5(buf []byte) (int, error)
func (*UpdateCarRequest) FastWrite ¶
func (p *UpdateCarRequest) FastWrite(buf []byte) int
for compatibility
func (*UpdateCarRequest) FastWriteNocopy ¶
func (p *UpdateCarRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateCarRequest) Field1DeepEqual ¶
func (p *UpdateCarRequest) Field1DeepEqual(src string) bool
func (*UpdateCarRequest) Field2DeepEqual ¶
func (p *UpdateCarRequest) Field2DeepEqual(src base.CarStatus) bool
func (*UpdateCarRequest) Field3DeepEqual ¶
func (p *UpdateCarRequest) Field3DeepEqual(src *base.Position) bool
func (*UpdateCarRequest) Field4DeepEqual ¶
func (p *UpdateCarRequest) Field4DeepEqual(src string) bool
func (*UpdateCarRequest) Field5DeepEqual ¶
func (p *UpdateCarRequest) Field5DeepEqual(src float64) bool
func (*UpdateCarRequest) GetAccountId ¶
func (p *UpdateCarRequest) GetAccountId() (v string)
func (*UpdateCarRequest) GetId ¶
func (p *UpdateCarRequest) GetId() (v string)
func (*UpdateCarRequest) GetPosition ¶
func (p *UpdateCarRequest) GetPosition() (v *base.Position)
func (*UpdateCarRequest) GetPower ¶
func (p *UpdateCarRequest) GetPower() (v float64)
func (*UpdateCarRequest) GetStatus ¶
func (p *UpdateCarRequest) GetStatus() (v base.CarStatus)
func (*UpdateCarRequest) InitDefault ¶
func (p *UpdateCarRequest) InitDefault()
func (*UpdateCarRequest) IsSetPosition ¶
func (p *UpdateCarRequest) IsSetPosition() bool
func (*UpdateCarRequest) ReadField1 ¶
func (p *UpdateCarRequest) ReadField1(iprot thrift.TProtocol) error
func (*UpdateCarRequest) ReadField2 ¶
func (p *UpdateCarRequest) ReadField2(iprot thrift.TProtocol) error
func (*UpdateCarRequest) ReadField3 ¶
func (p *UpdateCarRequest) ReadField3(iprot thrift.TProtocol) error
func (*UpdateCarRequest) ReadField4 ¶
func (p *UpdateCarRequest) ReadField4(iprot thrift.TProtocol) error
func (*UpdateCarRequest) ReadField5 ¶
func (p *UpdateCarRequest) ReadField5(iprot thrift.TProtocol) error
func (*UpdateCarRequest) SetAccountId ¶
func (p *UpdateCarRequest) SetAccountId(val string)
func (*UpdateCarRequest) SetId ¶
func (p *UpdateCarRequest) SetId(val string)
func (*UpdateCarRequest) SetPosition ¶
func (p *UpdateCarRequest) SetPosition(val *base.Position)
func (*UpdateCarRequest) SetPower ¶
func (p *UpdateCarRequest) SetPower(val float64)
func (*UpdateCarRequest) SetStatus ¶
func (p *UpdateCarRequest) SetStatus(val base.CarStatus)
func (*UpdateCarRequest) String ¶
func (p *UpdateCarRequest) String() string
type UpdateCarResponse ¶
type UpdateCarResponse struct {
BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"`
}
var CarServiceUpdateCarResult_Success_DEFAULT *UpdateCarResponse
func NewUpdateCarResponse ¶
func NewUpdateCarResponse() *UpdateCarResponse
func (*UpdateCarResponse) BLength ¶
func (p *UpdateCarResponse) BLength() int
func (*UpdateCarResponse) DeepEqual ¶
func (p *UpdateCarResponse) DeepEqual(ano *UpdateCarResponse) bool
func (*UpdateCarResponse) FastReadField1 ¶
func (p *UpdateCarResponse) FastReadField1(buf []byte) (int, error)
func (*UpdateCarResponse) FastWrite ¶
func (p *UpdateCarResponse) FastWrite(buf []byte) int
for compatibility
func (*UpdateCarResponse) FastWriteNocopy ¶
func (p *UpdateCarResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UpdateCarResponse) Field1DeepEqual ¶
func (p *UpdateCarResponse) Field1DeepEqual(src *base.BaseResponse) bool
func (*UpdateCarResponse) GetBaseResp ¶
func (p *UpdateCarResponse) GetBaseResp() (v *base.BaseResponse)
func (*UpdateCarResponse) InitDefault ¶
func (p *UpdateCarResponse) InitDefault()
func (*UpdateCarResponse) IsSetBaseResp ¶
func (p *UpdateCarResponse) IsSetBaseResp() bool
func (*UpdateCarResponse) Read ¶
func (p *UpdateCarResponse) Read(iprot thrift.TProtocol) (err error)
func (*UpdateCarResponse) ReadField1 ¶
func (p *UpdateCarResponse) ReadField1(iprot thrift.TProtocol) error
func (*UpdateCarResponse) SetBaseResp ¶
func (p *UpdateCarResponse) SetBaseResp(val *base.BaseResponse)
func (*UpdateCarResponse) String ¶
func (p *UpdateCarResponse) String() string