trip

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateTripRequest_Start_DEFAULT *base.Location
View Source
var TripServiceCreateTripResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceDeleteTripResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceGetAllTripsResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceGetSomeTripsResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceGetTripResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceGetTripsResult_Success_DEFAULT *base.NilResponse
View Source
var TripServiceUpdateTripResult_Success_DEFAULT *base.NilResponse
View Source
var UpdateTripRequest_Current_DEFAULT *base.Location

Functions

This section is empty.

Types

type CreateTripRequest

type CreateTripRequest struct {
	Start     *base.Location `thrift:"start,1" form:"start" json:"start" query:"start"`
	CarID     string         `thrift:"car_id,2" form:"car_id" json:"car_id" query:"car_id"`
	AvatarURL string         `thrift:"avatar_url,3" form:"avatar_url" json:"avatar_url" query:"avatar_url"`
}
var TripServiceCreateTripArgs_Req_DEFAULT *CreateTripRequest

func NewCreateTripRequest

func NewCreateTripRequest() *CreateTripRequest

func (*CreateTripRequest) GetAvatarURL

func (p *CreateTripRequest) GetAvatarURL() (v string)

func (*CreateTripRequest) GetCarID

func (p *CreateTripRequest) GetCarID() (v string)

func (*CreateTripRequest) GetStart

func (p *CreateTripRequest) GetStart() (v *base.Location)

func (*CreateTripRequest) IsSetStart

func (p *CreateTripRequest) IsSetStart() bool

func (*CreateTripRequest) Read

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

func (*CreateTripRequest) ReadField1

func (p *CreateTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*CreateTripRequest) ReadField2

func (p *CreateTripRequest) ReadField2(iprot thrift.TProtocol) error

func (*CreateTripRequest) ReadField3

func (p *CreateTripRequest) ReadField3(iprot thrift.TProtocol) error

func (*CreateTripRequest) String

func (p *CreateTripRequest) String() string

func (*CreateTripRequest) Write

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

type DeleteTripRequest

type DeleteTripRequest struct {
	ID string `thrift:"id,1" form:"id" json:"id" query:"id"`
}
var TripServiceDeleteTripArgs_Req_DEFAULT *DeleteTripRequest

func NewDeleteTripRequest

func NewDeleteTripRequest() *DeleteTripRequest

func (*DeleteTripRequest) GetID

func (p *DeleteTripRequest) GetID() (v string)

func (*DeleteTripRequest) Read

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

func (*DeleteTripRequest) ReadField1

func (p *DeleteTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*DeleteTripRequest) String

func (p *DeleteTripRequest) String() string

func (*DeleteTripRequest) Write

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

type GetAllTripsRequest

type GetAllTripsRequest struct {
}
var TripServiceGetAllTripsArgs_Req_DEFAULT *GetAllTripsRequest

func NewGetAllTripsRequest

func NewGetAllTripsRequest() *GetAllTripsRequest

func (*GetAllTripsRequest) Read

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

func (*GetAllTripsRequest) String

func (p *GetAllTripsRequest) String() string

func (*GetAllTripsRequest) Write

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

type GetSomeTripsRequest

type GetSomeTripsRequest struct {
}
var TripServiceGetSomeTripsArgs_Req_DEFAULT *GetSomeTripsRequest

func NewGetSomeTripsRequest

func NewGetSomeTripsRequest() *GetSomeTripsRequest

func (*GetSomeTripsRequest) Read

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

func (*GetSomeTripsRequest) String

func (p *GetSomeTripsRequest) String() string

func (*GetSomeTripsRequest) Write

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

type GetTripRequest

type GetTripRequest struct {
	ID string `thrift:"id,1" form:"id" json:"id" query:"id"`
}
var TripServiceGetTripArgs_Req_DEFAULT *GetTripRequest

func NewGetTripRequest

func NewGetTripRequest() *GetTripRequest

func (*GetTripRequest) GetID

func (p *GetTripRequest) GetID() (v string)

func (*GetTripRequest) Read

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

func (*GetTripRequest) ReadField1

func (p *GetTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetTripRequest) String

func (p *GetTripRequest) String() string

func (*GetTripRequest) Write

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

type GetTripsRequest

type GetTripsRequest struct {
	Status base.TripStatus `thrift:"status,1" form:"status" json:"status" query:"status"`
}
var TripServiceGetTripsArgs_Req_DEFAULT *GetTripsRequest

func NewGetTripsRequest

func NewGetTripsRequest() *GetTripsRequest

func (*GetTripsRequest) GetStatus

func (p *GetTripsRequest) GetStatus() (v base.TripStatus)

func (*GetTripsRequest) Read

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

func (*GetTripsRequest) ReadField1

func (p *GetTripsRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetTripsRequest) String

func (p *GetTripsRequest) String() string

func (*GetTripsRequest) Write

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

type TripService

type TripService interface {
	// for back-stage management
	DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *base.NilResponse, err error)

	GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *base.NilResponse, err error)

	GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *base.NilResponse, err error)
	// for mini-program
	CreateTrip(ctx context.Context, req *CreateTripRequest) (r *base.NilResponse, err error)

	GetTrip(ctx context.Context, req *GetTripRequest) (r *base.NilResponse, err error)

	GetTrips(ctx context.Context, req *GetTripsRequest) (r *base.NilResponse, err error)

	UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *base.NilResponse, err error)
}

type TripServiceClient

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

func NewTripServiceClient

func NewTripServiceClient(c thrift.TClient) *TripServiceClient

func NewTripServiceClientProtocol

func NewTripServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TripServiceClient

func (*TripServiceClient) Client_

func (p *TripServiceClient) Client_() thrift.TClient

func (*TripServiceClient) CreateTrip

func (p *TripServiceClient) CreateTrip(ctx context.Context, req *CreateTripRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) DeleteTrip

func (p *TripServiceClient) DeleteTrip(ctx context.Context, req *DeleteTripRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) GetAllTrips

func (p *TripServiceClient) GetAllTrips(ctx context.Context, req *GetAllTripsRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) GetSomeTrips

func (p *TripServiceClient) GetSomeTrips(ctx context.Context, req *GetSomeTripsRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) GetTrip

func (p *TripServiceClient) GetTrip(ctx context.Context, req *GetTripRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) GetTrips

func (p *TripServiceClient) GetTrips(ctx context.Context, req *GetTripsRequest) (r *base.NilResponse, err error)

func (*TripServiceClient) UpdateTrip

func (p *TripServiceClient) UpdateTrip(ctx context.Context, req *UpdateTripRequest) (r *base.NilResponse, err error)

type TripServiceCreateTripArgs

type TripServiceCreateTripArgs struct {
	Req *CreateTripRequest `thrift:"req,1"`
}

func NewTripServiceCreateTripArgs

func NewTripServiceCreateTripArgs() *TripServiceCreateTripArgs

func (*TripServiceCreateTripArgs) GetReq

func (*TripServiceCreateTripArgs) IsSetReq

func (p *TripServiceCreateTripArgs) IsSetReq() bool

func (*TripServiceCreateTripArgs) Read

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

func (*TripServiceCreateTripArgs) ReadField1

func (p *TripServiceCreateTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceCreateTripArgs) String

func (p *TripServiceCreateTripArgs) String() string

func (*TripServiceCreateTripArgs) Write

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

type TripServiceCreateTripResult

type TripServiceCreateTripResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceCreateTripResult

func NewTripServiceCreateTripResult() *TripServiceCreateTripResult

func (*TripServiceCreateTripResult) GetSuccess

func (p *TripServiceCreateTripResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceCreateTripResult) IsSetSuccess

func (p *TripServiceCreateTripResult) IsSetSuccess() bool

func (*TripServiceCreateTripResult) Read

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

func (*TripServiceCreateTripResult) ReadField0

func (p *TripServiceCreateTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceCreateTripResult) String

func (p *TripServiceCreateTripResult) String() string

func (*TripServiceCreateTripResult) Write

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

type TripServiceDeleteTripArgs

type TripServiceDeleteTripArgs struct {
	Req *DeleteTripRequest `thrift:"req,1"`
}

func NewTripServiceDeleteTripArgs

func NewTripServiceDeleteTripArgs() *TripServiceDeleteTripArgs

func (*TripServiceDeleteTripArgs) GetReq

func (*TripServiceDeleteTripArgs) IsSetReq

func (p *TripServiceDeleteTripArgs) IsSetReq() bool

func (*TripServiceDeleteTripArgs) Read

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

func (*TripServiceDeleteTripArgs) ReadField1

func (p *TripServiceDeleteTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceDeleteTripArgs) String

func (p *TripServiceDeleteTripArgs) String() string

func (*TripServiceDeleteTripArgs) Write

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

type TripServiceDeleteTripResult

type TripServiceDeleteTripResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceDeleteTripResult

func NewTripServiceDeleteTripResult() *TripServiceDeleteTripResult

func (*TripServiceDeleteTripResult) GetSuccess

func (p *TripServiceDeleteTripResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceDeleteTripResult) IsSetSuccess

func (p *TripServiceDeleteTripResult) IsSetSuccess() bool

func (*TripServiceDeleteTripResult) Read

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

func (*TripServiceDeleteTripResult) ReadField0

func (p *TripServiceDeleteTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceDeleteTripResult) String

func (p *TripServiceDeleteTripResult) String() string

func (*TripServiceDeleteTripResult) Write

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

type TripServiceGetAllTripsArgs

type TripServiceGetAllTripsArgs struct {
	Req *GetAllTripsRequest `thrift:"req,1"`
}

func NewTripServiceGetAllTripsArgs

func NewTripServiceGetAllTripsArgs() *TripServiceGetAllTripsArgs

func (*TripServiceGetAllTripsArgs) GetReq

func (*TripServiceGetAllTripsArgs) IsSetReq

func (p *TripServiceGetAllTripsArgs) IsSetReq() bool

func (*TripServiceGetAllTripsArgs) Read

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

func (*TripServiceGetAllTripsArgs) ReadField1

func (p *TripServiceGetAllTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetAllTripsArgs) String

func (p *TripServiceGetAllTripsArgs) String() string

func (*TripServiceGetAllTripsArgs) Write

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

type TripServiceGetAllTripsResult

type TripServiceGetAllTripsResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceGetAllTripsResult

func NewTripServiceGetAllTripsResult() *TripServiceGetAllTripsResult

func (*TripServiceGetAllTripsResult) GetSuccess

func (p *TripServiceGetAllTripsResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceGetAllTripsResult) IsSetSuccess

func (p *TripServiceGetAllTripsResult) IsSetSuccess() bool

func (*TripServiceGetAllTripsResult) Read

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

func (*TripServiceGetAllTripsResult) ReadField0

func (p *TripServiceGetAllTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetAllTripsResult) String

func (*TripServiceGetAllTripsResult) Write

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

type TripServiceGetSomeTripsArgs

type TripServiceGetSomeTripsArgs struct {
	Req *GetSomeTripsRequest `thrift:"req,1"`
}

func NewTripServiceGetSomeTripsArgs

func NewTripServiceGetSomeTripsArgs() *TripServiceGetSomeTripsArgs

func (*TripServiceGetSomeTripsArgs) GetReq

func (*TripServiceGetSomeTripsArgs) IsSetReq

func (p *TripServiceGetSomeTripsArgs) IsSetReq() bool

func (*TripServiceGetSomeTripsArgs) Read

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

func (*TripServiceGetSomeTripsArgs) ReadField1

func (p *TripServiceGetSomeTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetSomeTripsArgs) String

func (p *TripServiceGetSomeTripsArgs) String() string

func (*TripServiceGetSomeTripsArgs) Write

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

type TripServiceGetSomeTripsResult

type TripServiceGetSomeTripsResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceGetSomeTripsResult

func NewTripServiceGetSomeTripsResult() *TripServiceGetSomeTripsResult

func (*TripServiceGetSomeTripsResult) GetSuccess

func (p *TripServiceGetSomeTripsResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceGetSomeTripsResult) IsSetSuccess

func (p *TripServiceGetSomeTripsResult) IsSetSuccess() bool

func (*TripServiceGetSomeTripsResult) Read

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

func (*TripServiceGetSomeTripsResult) ReadField0

func (p *TripServiceGetSomeTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetSomeTripsResult) String

func (*TripServiceGetSomeTripsResult) Write

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

type TripServiceGetTripArgs

type TripServiceGetTripArgs struct {
	Req *GetTripRequest `thrift:"req,1"`
}

func NewTripServiceGetTripArgs

func NewTripServiceGetTripArgs() *TripServiceGetTripArgs

func (*TripServiceGetTripArgs) GetReq

func (p *TripServiceGetTripArgs) GetReq() (v *GetTripRequest)

func (*TripServiceGetTripArgs) IsSetReq

func (p *TripServiceGetTripArgs) IsSetReq() bool

func (*TripServiceGetTripArgs) Read

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

func (*TripServiceGetTripArgs) ReadField1

func (p *TripServiceGetTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetTripArgs) String

func (p *TripServiceGetTripArgs) String() string

func (*TripServiceGetTripArgs) Write

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

type TripServiceGetTripResult

type TripServiceGetTripResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceGetTripResult

func NewTripServiceGetTripResult() *TripServiceGetTripResult

func (*TripServiceGetTripResult) GetSuccess

func (p *TripServiceGetTripResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceGetTripResult) IsSetSuccess

func (p *TripServiceGetTripResult) IsSetSuccess() bool

func (*TripServiceGetTripResult) Read

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

func (*TripServiceGetTripResult) ReadField0

func (p *TripServiceGetTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetTripResult) String

func (p *TripServiceGetTripResult) String() string

func (*TripServiceGetTripResult) Write

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

type TripServiceGetTripsArgs

type TripServiceGetTripsArgs struct {
	Req *GetTripsRequest `thrift:"req,1"`
}

func NewTripServiceGetTripsArgs

func NewTripServiceGetTripsArgs() *TripServiceGetTripsArgs

func (*TripServiceGetTripsArgs) GetReq

func (p *TripServiceGetTripsArgs) GetReq() (v *GetTripsRequest)

func (*TripServiceGetTripsArgs) IsSetReq

func (p *TripServiceGetTripsArgs) IsSetReq() bool

func (*TripServiceGetTripsArgs) Read

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

func (*TripServiceGetTripsArgs) ReadField1

func (p *TripServiceGetTripsArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceGetTripsArgs) String

func (p *TripServiceGetTripsArgs) String() string

func (*TripServiceGetTripsArgs) Write

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

type TripServiceGetTripsResult

type TripServiceGetTripsResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceGetTripsResult

func NewTripServiceGetTripsResult() *TripServiceGetTripsResult

func (*TripServiceGetTripsResult) GetSuccess

func (p *TripServiceGetTripsResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceGetTripsResult) IsSetSuccess

func (p *TripServiceGetTripsResult) IsSetSuccess() bool

func (*TripServiceGetTripsResult) Read

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

func (*TripServiceGetTripsResult) ReadField0

func (p *TripServiceGetTripsResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceGetTripsResult) String

func (p *TripServiceGetTripsResult) String() string

func (*TripServiceGetTripsResult) Write

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

type TripServiceProcessor

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

func NewTripServiceProcessor

func NewTripServiceProcessor(handler TripService) *TripServiceProcessor

func (*TripServiceProcessor) AddToProcessorMap

func (p *TripServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TripServiceProcessor) GetProcessorFunction

func (p *TripServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TripServiceProcessor) Process

func (p *TripServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TripServiceProcessor) ProcessorMap

func (p *TripServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type TripServiceUpdateTripArgs

type TripServiceUpdateTripArgs struct {
	Req *UpdateTripRequest `thrift:"req,1"`
}

func NewTripServiceUpdateTripArgs

func NewTripServiceUpdateTripArgs() *TripServiceUpdateTripArgs

func (*TripServiceUpdateTripArgs) GetReq

func (*TripServiceUpdateTripArgs) IsSetReq

func (p *TripServiceUpdateTripArgs) IsSetReq() bool

func (*TripServiceUpdateTripArgs) Read

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

func (*TripServiceUpdateTripArgs) ReadField1

func (p *TripServiceUpdateTripArgs) ReadField1(iprot thrift.TProtocol) error

func (*TripServiceUpdateTripArgs) String

func (p *TripServiceUpdateTripArgs) String() string

func (*TripServiceUpdateTripArgs) Write

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

type TripServiceUpdateTripResult

type TripServiceUpdateTripResult struct {
	Success *base.NilResponse `thrift:"success,0,optional"`
}

func NewTripServiceUpdateTripResult

func NewTripServiceUpdateTripResult() *TripServiceUpdateTripResult

func (*TripServiceUpdateTripResult) GetSuccess

func (p *TripServiceUpdateTripResult) GetSuccess() (v *base.NilResponse)

func (*TripServiceUpdateTripResult) IsSetSuccess

func (p *TripServiceUpdateTripResult) IsSetSuccess() bool

func (*TripServiceUpdateTripResult) Read

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

func (*TripServiceUpdateTripResult) ReadField0

func (p *TripServiceUpdateTripResult) ReadField0(iprot thrift.TProtocol) error

func (*TripServiceUpdateTripResult) String

func (p *TripServiceUpdateTripResult) String() string

func (*TripServiceUpdateTripResult) Write

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

type UpdateTripRequest

type UpdateTripRequest struct {
	ID      string         `thrift:"id,1" form:"id" json:"id" query:"id"`
	Current *base.Location `thrift:"current,2" form:"current" json:"current" query:"current"`
	EndTrip bool           `thrift:"end_trip,3" form:"end_trip" json:"end_trip" query:"end_trip"`
}
var TripServiceUpdateTripArgs_Req_DEFAULT *UpdateTripRequest

func NewUpdateTripRequest

func NewUpdateTripRequest() *UpdateTripRequest

func (*UpdateTripRequest) GetCurrent

func (p *UpdateTripRequest) GetCurrent() (v *base.Location)

func (*UpdateTripRequest) GetEndTrip

func (p *UpdateTripRequest) GetEndTrip() (v bool)

func (*UpdateTripRequest) GetID

func (p *UpdateTripRequest) GetID() (v string)

func (*UpdateTripRequest) IsSetCurrent

func (p *UpdateTripRequest) IsSetCurrent() bool

func (*UpdateTripRequest) Read

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

func (*UpdateTripRequest) ReadField1

func (p *UpdateTripRequest) ReadField1(iprot thrift.TProtocol) error

func (*UpdateTripRequest) ReadField2

func (p *UpdateTripRequest) ReadField2(iprot thrift.TProtocol) error

func (*UpdateTripRequest) ReadField3

func (p *UpdateTripRequest) ReadField3(iprot thrift.TProtocol) error

func (*UpdateTripRequest) String

func (p *UpdateTripRequest) String() string

func (*UpdateTripRequest) Write

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

Jump to

Keyboard shortcuts

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