car

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdminUpdateCarRequest_Car_DEFAULT *base.Car
View Source
var AdminUpdateCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var CreateCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var CreateCarResponse_CarEntity_DEFAULT *base.CarEntity
View Source
var DeleteCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetAllCarsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetCarResponse_Car_DEFAULT *base.Car
View Source
var GetCarsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var GetSomeCarsResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var LockCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UnlockCarRequest_Driver_DEFAULT *base.Driver
View Source
var UnlockCarResponse_BaseResp_DEFAULT *base.BaseResponse
View Source
var UpdateCarRequest_Position_DEFAULT *base.Position
View Source
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 (*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

func (*AdminUpdateCarRequest) Write

func (p *AdminUpdateCarRequest) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*AdminUpdateCarResponse) Write

func (p *AdminUpdateCarResponse) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*CarServiceAdminUpdateCarArgs) String

func (*CarServiceAdminUpdateCarArgs) Write

func (p *CarServiceAdminUpdateCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*CarServiceAdminUpdateCarResult) GetResult

func (p *CarServiceAdminUpdateCarResult) GetResult() interface{}

func (*CarServiceAdminUpdateCarResult) GetSuccess

func (*CarServiceAdminUpdateCarResult) InitDefault

func (p *CarServiceAdminUpdateCarResult) InitDefault()

func (*CarServiceAdminUpdateCarResult) IsSetSuccess

func (p *CarServiceAdminUpdateCarResult) IsSetSuccess() bool

func (*CarServiceAdminUpdateCarResult) Read

func (*CarServiceAdminUpdateCarResult) ReadField0

func (*CarServiceAdminUpdateCarResult) SetSuccess

func (p *CarServiceAdminUpdateCarResult) SetSuccess(x interface{})

func (*CarServiceAdminUpdateCarResult) String

func (*CarServiceAdminUpdateCarResult) Write

func (p *CarServiceAdminUpdateCarResult) Write(oprot thrift.TProtocol) (err error)

type CarServiceClient

type CarServiceClient struct {
	// contains filtered or unexported fields
}

func NewCarServiceClient

func NewCarServiceClient(c thrift.TClient) *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 (*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

func (*CarServiceCreateCarArgs) Write

func (p *CarServiceCreateCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceCreateCarResult) Write

func (p *CarServiceCreateCarResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceDeleteCarArgs) Write

func (p *CarServiceDeleteCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceDeleteCarResult) Write

func (p *CarServiceDeleteCarResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*CarServiceGetAllCarsArgs) String

func (p *CarServiceGetAllCarsArgs) String() string

func (*CarServiceGetAllCarsArgs) Write

func (p *CarServiceGetAllCarsArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceGetAllCarsResult) Write

func (p *CarServiceGetAllCarsResult) Write(oprot thrift.TProtocol) (err error)

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

func (*CarServiceGetCarArgs) Write

func (p *CarServiceGetCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceGetCarResult) Write

func (p *CarServiceGetCarResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceGetCarsArgs) Write

func (p *CarServiceGetCarsArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceGetCarsResult) Write

func (p *CarServiceGetCarsResult) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*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 (*CarServiceGetSomeCarsArgs) String

func (p *CarServiceGetSomeCarsArgs) String() string

func (*CarServiceGetSomeCarsArgs) Write

func (p *CarServiceGetSomeCarsArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceGetSomeCarsResult) Write

func (p *CarServiceGetSomeCarsResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceLockCarArgs) Write

func (p *CarServiceLockCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceLockCarResult) Write

func (p *CarServiceLockCarResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceUnlockCarArgs) Write

func (p *CarServiceUnlockCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceUnlockCarResult) Write

func (p *CarServiceUnlockCarResult) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceUpdateCarArgs) Write

func (p *CarServiceUpdateCarArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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

func (*CarServiceUpdateCarResult) Write

func (p *CarServiceUpdateCarResult) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *CreateCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *CreateCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*CreateCarRequest) Write

func (p *CreateCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *CreateCarResponse) FastRead(buf []byte) (int, error)

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

func (*CreateCarResponse) Write

func (p *CreateCarResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *DeleteCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *DeleteCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*DeleteCarRequest) Write

func (p *DeleteCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *DeleteCarResponse) FastRead(buf []byte) (int, error)

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

func (*DeleteCarResponse) Write

func (p *DeleteCarResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *GetAllCarsRequest) FastRead(buf []byte) (int, error)

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

func (*GetAllCarsRequest) Write

func (p *GetAllCarsRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*GetAllCarsResponse) Write

func (p *GetAllCarsResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *GetCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *GetCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*GetCarRequest) Write

func (p *GetCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *GetCarResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *GetCarResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*GetCarResponse) Write

func (p *GetCarResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *GetCarsRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *GetCarsRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*GetCarsRequest) Write

func (p *GetCarsRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *GetCarsResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *GetCarsResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*GetCarsResponse) Write

func (p *GetCarsResponse) Write(oprot thrift.TProtocol) (err error)

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

func (*GetSomeCarsRequest) Write

func (p *GetSomeCarsRequest) Write(oprot thrift.TProtocol) (err error)

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

func (*GetSomeCarsResponse) Write

func (p *GetSomeCarsResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *LockCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *LockCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*LockCarRequest) Write

func (p *LockCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *LockCarResponse) FastRead(buf []byte) (int, error)

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) Read

func (p *LockCarResponse) Read(iprot thrift.TProtocol) (err error)

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

func (*LockCarResponse) Write

func (p *LockCarResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UnlockCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *UnlockCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*UnlockCarRequest) Write

func (p *UnlockCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UnlockCarResponse) FastRead(buf []byte) (int, error)

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

func (*UnlockCarResponse) Write

func (p *UnlockCarResponse) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UpdateCarRequest) FastRead(buf []byte) (int, error)

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) Read

func (p *UpdateCarRequest) Read(iprot thrift.TProtocol) (err error)

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

func (*UpdateCarRequest) Write

func (p *UpdateCarRequest) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UpdateCarResponse) FastRead(buf []byte) (int, error)

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

func (*UpdateCarResponse) Write

func (p *UpdateCarResponse) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.4.4.
Code generated by Kitex v0.4.4.

Jump to

Keyboard shortcuts

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