car

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_car_car_proto protoreflect.FileDescriptor

Functions

func FetchResourceTypes

func FetchResourceTypes(typeStr string) (types []string, err error)

FetchResourceTypes ["pag","mp4"]/["pag"]/["mp4"]...

func GetZipUrl

func GetZipUrl(url string) (zipUrl string)

func NewThingsCarEndpoints

func NewThingsCarEndpoints() []*api.Endpoint

func RegisterThingsCarHandler

func RegisterThingsCarHandler(s server.Server, hdlr ThingsCarHandler, opts ...server.HandlerOption) error

Types

type CarDetail

type CarDetail struct {
	CarId             int64    `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`                       // ID
	CarName           string   `protobuf:"bytes,2,opt,name=car_name,json=carName,proto3" json:"car_name"`                  // 名称
	CarLocalName      string   `protobuf:"bytes,3,opt,name=car_local_name,json=carLocalName,proto3" json:"car_local_name"` // 本地化名称
	CarCover          string   `protobuf:"bytes,4,opt,name=car_cover,json=carCover,proto3" json:"car_cover"`               // 座驾封面(缩略图)
	VideoMp4          string   `protobuf:"bytes,5,opt,name=video_mp4,json=videoMp4,proto3" json:"video_mp4"`
	VideoPag          string   `protobuf:"bytes,6,opt,name=video_pag,json=videoPag,proto3" json:"video_pag"`
	CarLevel          int64    `protobuf:"varint,7,opt,name=car_level,json=carLevel,proto3" json:"car_level"`                              // 座驾等级 1低档,2中档,3高档,4活动
	ShowState         int32    `protobuf:"varint,8,opt,name=show_state,json=showState,proto3" json:"show_state"`                           // 1隐藏 2显示
	Mark              []string `protobuf:"bytes,9,rep,name=mark,proto3" json:"mark"`                                                       // 特殊场景 register,level40
	ResourceUpdatedAt string   `protobuf:"bytes,10,opt,name=resource_updated_at,json=resourceUpdatedAt,proto3" json:"resource_updated_at"` // 资源更新时间
	CreatedAt         string   `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
	UpdatedAt         string   `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`
	// contains filtered or unexported fields
}

func (*CarDetail) Descriptor deprecated

func (*CarDetail) Descriptor() ([]byte, []int)

Deprecated: Use CarDetail.ProtoReflect.Descriptor instead.

func (*CarDetail) GetCarCover

func (x *CarDetail) GetCarCover() string

func (*CarDetail) GetCarId

func (x *CarDetail) GetCarId() int64

func (*CarDetail) GetCarLevel

func (x *CarDetail) GetCarLevel() int64

func (*CarDetail) GetCarLocalName

func (x *CarDetail) GetCarLocalName() string

func (*CarDetail) GetCarName

func (x *CarDetail) GetCarName() string

func (*CarDetail) GetCreatedAt

func (x *CarDetail) GetCreatedAt() string

func (*CarDetail) GetMark

func (x *CarDetail) GetMark() []string

func (*CarDetail) GetResourceUpdatedAt

func (x *CarDetail) GetResourceUpdatedAt() string

func (*CarDetail) GetShowState

func (x *CarDetail) GetShowState() int32

func (*CarDetail) GetUpdatedAt

func (x *CarDetail) GetUpdatedAt() string

func (*CarDetail) GetVideoMp4

func (x *CarDetail) GetVideoMp4() string

func (*CarDetail) GetVideoPag

func (x *CarDetail) GetVideoPag() string

func (*CarDetail) ProtoMessage

func (*CarDetail) ProtoMessage()

func (*CarDetail) ProtoReflect

func (x *CarDetail) ProtoReflect() protoreflect.Message

func (*CarDetail) Reset

func (x *CarDetail) Reset()

func (*CarDetail) String

func (x *CarDetail) String() string

type CarItem

type CarItem struct {
	CarId   int64  `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`      // ID
	CarName string `protobuf:"bytes,2,opt,name=car_name,json=carName,proto3" json:"car_name"` // 名称
	//  string country  = 3; // 所属国家
	CarCover string `protobuf:"bytes,5,opt,name=car_cover,json=carCover,proto3" json:"car_cover"` // 座驾封面(缩略图)
	//  string car_animation = 6; // 座驾动画
	//  string car_animation_zip = 7; // 座驾动画zip
	//  string car_file_updated_at = 8; // 资源更新时间
	CarLevel          int64    `protobuf:"varint,9,opt,name=car_level,json=carLevel,proto3" json:"car_level"`                              // 座驾等级 1低档,2中档,3高档,4活动
	Mark              []string `protobuf:"bytes,10,rep,name=mark,proto3" json:"mark"`                                                      // 特殊场景
	ResourceUpdatedAt string   `protobuf:"bytes,11,opt,name=resource_updated_at,json=resourceUpdatedAt,proto3" json:"resource_updated_at"` // 资源更新时间
	VideoMp4          string   `protobuf:"bytes,12,opt,name=video_mp4,json=videoMp4,proto3" json:"video_mp4"`
	VideoPag          string   `protobuf:"bytes,13,opt,name=video_pag,json=videoPag,proto3" json:"video_pag"`
	CarLocalName      string   `protobuf:"bytes,14,opt,name=car_local_name,json=carLocalName,proto3" json:"car_local_name"` // 本地化名称
	ShowState         int32    `protobuf:"varint,15,opt,name=show_state,json=showState,proto3" json:"show_state"`           // 1隐藏 2显示
	// contains filtered or unexported fields
}

func (*CarItem) Descriptor deprecated

func (*CarItem) Descriptor() ([]byte, []int)

Deprecated: Use CarItem.ProtoReflect.Descriptor instead.

func (*CarItem) GetCarAnimation

func (x *CarItem) GetCarAnimation() string

func (*CarItem) GetCarAnimationZip

func (x *CarItem) GetCarAnimationZip() string

func (*CarItem) GetCarCover

func (x *CarItem) GetCarCover() string

func (*CarItem) GetCarId

func (x *CarItem) GetCarId() int64

func (*CarItem) GetCarLevel

func (x *CarItem) GetCarLevel() int64

func (*CarItem) GetCarLocalName

func (x *CarItem) GetCarLocalName() string

func (*CarItem) GetCarName

func (x *CarItem) GetCarName() string

func (*CarItem) GetFileKey

func (x *CarItem) GetFileKey() string

func (*CarItem) GetFileType

func (x *CarItem) GetFileType() string

func (*CarItem) GetMark

func (x *CarItem) GetMark() []string

func (*CarItem) GetResource

func (x *CarItem) GetResource(types []string) (url string)

func (*CarItem) GetResourceUpdatedAt

func (x *CarItem) GetResourceUpdatedAt() string

func (*CarItem) GetResources

func (x *CarItem) GetResources() (urls []string)

func (*CarItem) GetShowName

func (x *CarItem) GetShowName() string

func (*CarItem) GetShowState

func (x *CarItem) GetShowState() int32

func (*CarItem) GetVideoMp4

func (x *CarItem) GetVideoMp4() string

func (*CarItem) GetVideoPag

func (x *CarItem) GetVideoPag() string

func (*CarItem) ProtoMessage

func (*CarItem) ProtoMessage()

func (*CarItem) ProtoReflect

func (x *CarItem) ProtoReflect() protoreflect.Message

func (*CarItem) Reset

func (x *CarItem) Reset()

func (*CarItem) String

func (x *CarItem) String() string

type CreateCarReq

type CreateCarReq struct {
	Item *CarDetail `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*CreateCarReq) Descriptor deprecated

func (*CreateCarReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateCarReq.ProtoReflect.Descriptor instead.

func (*CreateCarReq) GetItem

func (x *CreateCarReq) GetItem() *CarDetail

func (*CreateCarReq) ProtoMessage

func (*CreateCarReq) ProtoMessage()

func (*CreateCarReq) ProtoReflect

func (x *CreateCarReq) ProtoReflect() protoreflect.Message

func (*CreateCarReq) Reset

func (x *CreateCarReq) Reset()

func (*CreateCarReq) String

func (x *CreateCarReq) String() string

type CreateCarRes

type CreateCarRes struct {
	Item *CarDetail `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*CreateCarRes) Descriptor deprecated

func (*CreateCarRes) Descriptor() ([]byte, []int)

Deprecated: Use CreateCarRes.ProtoReflect.Descriptor instead.

func (*CreateCarRes) GetItem

func (x *CreateCarRes) GetItem() *CarDetail

func (*CreateCarRes) ProtoMessage

func (*CreateCarRes) ProtoMessage()

func (*CreateCarRes) ProtoReflect

func (x *CreateCarRes) ProtoReflect() protoreflect.Message

func (*CreateCarRes) Reset

func (x *CreateCarRes) Reset()

func (*CreateCarRes) String

func (x *CreateCarRes) String() string

type DeleteCarReq

type DeleteCarReq struct {
	CarId int64 `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`
	// contains filtered or unexported fields
}

func (*DeleteCarReq) Descriptor deprecated

func (*DeleteCarReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCarReq.ProtoReflect.Descriptor instead.

func (*DeleteCarReq) GetCarId

func (x *DeleteCarReq) GetCarId() int64

func (*DeleteCarReq) ProtoMessage

func (*DeleteCarReq) ProtoMessage()

func (*DeleteCarReq) ProtoReflect

func (x *DeleteCarReq) ProtoReflect() protoreflect.Message

func (*DeleteCarReq) Reset

func (x *DeleteCarReq) Reset()

func (*DeleteCarReq) String

func (x *DeleteCarReq) String() string

type DeleteCarRes

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

func (*DeleteCarRes) Descriptor deprecated

func (*DeleteCarRes) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCarRes.ProtoReflect.Descriptor instead.

func (*DeleteCarRes) ProtoMessage

func (*DeleteCarRes) ProtoMessage()

func (*DeleteCarRes) ProtoReflect

func (x *DeleteCarRes) ProtoReflect() protoreflect.Message

func (*DeleteCarRes) Reset

func (x *DeleteCarRes) Reset()

func (*DeleteCarRes) String

func (x *DeleteCarRes) String() string

type GetCarByIdReq

type GetCarByIdReq struct {
	CarId   int64  `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`
	Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country"` // 所属国家
	// contains filtered or unexported fields
}

func (*GetCarByIdReq) Descriptor deprecated

func (*GetCarByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCarByIdReq.ProtoReflect.Descriptor instead.

func (*GetCarByIdReq) GetCarId

func (x *GetCarByIdReq) GetCarId() int64

func (*GetCarByIdReq) GetCountry

func (x *GetCarByIdReq) GetCountry() string

func (*GetCarByIdReq) ProtoMessage

func (*GetCarByIdReq) ProtoMessage()

func (*GetCarByIdReq) ProtoReflect

func (x *GetCarByIdReq) ProtoReflect() protoreflect.Message

func (*GetCarByIdReq) Reset

func (x *GetCarByIdReq) Reset()

func (*GetCarByIdReq) String

func (x *GetCarByIdReq) String() string

type GetCarByIdRes

type GetCarByIdRes struct {
	Item *CarItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*GetCarByIdRes) Descriptor deprecated

func (*GetCarByIdRes) Descriptor() ([]byte, []int)

Deprecated: Use GetCarByIdRes.ProtoReflect.Descriptor instead.

func (*GetCarByIdRes) GetItem

func (x *GetCarByIdRes) GetItem() *CarItem

func (*GetCarByIdRes) ProtoMessage

func (*GetCarByIdRes) ProtoMessage()

func (*GetCarByIdRes) ProtoReflect

func (x *GetCarByIdRes) ProtoReflect() protoreflect.Message

func (*GetCarByIdRes) Reset

func (x *GetCarByIdRes) Reset()

func (*GetCarByIdRes) String

func (x *GetCarByIdRes) String() string

type GetCarMultiReq

type GetCarMultiReq struct {
	CarId   []int64 `protobuf:"varint,1,rep,packed,name=car_id,json=carId,proto3" json:"car_id"`
	Country string  `protobuf:"bytes,2,opt,name=country,proto3" json:"country"` // 所属国家
	// contains filtered or unexported fields
}

func (*GetCarMultiReq) Descriptor deprecated

func (*GetCarMultiReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCarMultiReq.ProtoReflect.Descriptor instead.

func (*GetCarMultiReq) GetCarId

func (x *GetCarMultiReq) GetCarId() []int64

func (*GetCarMultiReq) GetCountry

func (x *GetCarMultiReq) GetCountry() string

func (*GetCarMultiReq) ProtoMessage

func (*GetCarMultiReq) ProtoMessage()

func (*GetCarMultiReq) ProtoReflect

func (x *GetCarMultiReq) ProtoReflect() protoreflect.Message

func (*GetCarMultiReq) Reset

func (x *GetCarMultiReq) Reset()

func (*GetCarMultiReq) String

func (x *GetCarMultiReq) String() string

type GetCarMultiRes

type GetCarMultiRes struct {
	Cars map[int64]*CarItem `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCarMultiRes) Descriptor deprecated

func (*GetCarMultiRes) Descriptor() ([]byte, []int)

Deprecated: Use GetCarMultiRes.ProtoReflect.Descriptor instead.

func (*GetCarMultiRes) GetCars

func (x *GetCarMultiRes) GetCars() map[int64]*CarItem

func (*GetCarMultiRes) ProtoMessage

func (*GetCarMultiRes) ProtoMessage()

func (*GetCarMultiRes) ProtoReflect

func (x *GetCarMultiRes) ProtoReflect() protoreflect.Message

func (*GetCarMultiRes) Reset

func (x *GetCarMultiRes) Reset()

func (*GetCarMultiRes) String

func (x *GetCarMultiRes) String() string

type LevelUpRandomCarReq

type LevelUpRandomCarReq struct {
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // 所属国家
	Level   int64  `protobuf:"varint,2,opt,name=level,proto3" json:"level"`    // 等级
	// contains filtered or unexported fields
}

func (*LevelUpRandomCarReq) Descriptor deprecated

func (*LevelUpRandomCarReq) Descriptor() ([]byte, []int)

Deprecated: Use LevelUpRandomCarReq.ProtoReflect.Descriptor instead.

func (*LevelUpRandomCarReq) GetCountry

func (x *LevelUpRandomCarReq) GetCountry() string

func (*LevelUpRandomCarReq) GetLevel

func (x *LevelUpRandomCarReq) GetLevel() int64

func (*LevelUpRandomCarReq) ProtoMessage

func (*LevelUpRandomCarReq) ProtoMessage()

func (*LevelUpRandomCarReq) ProtoReflect

func (x *LevelUpRandomCarReq) ProtoReflect() protoreflect.Message

func (*LevelUpRandomCarReq) Reset

func (x *LevelUpRandomCarReq) Reset()

func (*LevelUpRandomCarReq) String

func (x *LevelUpRandomCarReq) String() string

type LevelUpRandomCarRes

type LevelUpRandomCarRes struct {
	Item *CarItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*LevelUpRandomCarRes) Descriptor deprecated

func (*LevelUpRandomCarRes) Descriptor() ([]byte, []int)

Deprecated: Use LevelUpRandomCarRes.ProtoReflect.Descriptor instead.

func (*LevelUpRandomCarRes) GetItem

func (x *LevelUpRandomCarRes) GetItem() *CarItem

func (*LevelUpRandomCarRes) ProtoMessage

func (*LevelUpRandomCarRes) ProtoMessage()

func (*LevelUpRandomCarRes) ProtoReflect

func (x *LevelUpRandomCarRes) ProtoReflect() protoreflect.Message

func (*LevelUpRandomCarRes) Reset

func (x *LevelUpRandomCarRes) Reset()

func (*LevelUpRandomCarRes) String

func (x *LevelUpRandomCarRes) String() string

type ListCarReq

type ListCarReq struct {
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // 国家
	Page    int64  `protobuf:"varint,40,opt,name=page,proto3" json:"page"`     // 页码
	Size    int64  `protobuf:"varint,41,opt,name=size,proto3" json:"size"`     // 单页记录数
	// contains filtered or unexported fields
}

func (*ListCarReq) Descriptor deprecated

func (*ListCarReq) Descriptor() ([]byte, []int)

Deprecated: Use ListCarReq.ProtoReflect.Descriptor instead.

func (*ListCarReq) GetCountry

func (x *ListCarReq) GetCountry() string

func (*ListCarReq) GetPage

func (x *ListCarReq) GetPage() int64

func (*ListCarReq) GetSize

func (x *ListCarReq) GetSize() int64

func (*ListCarReq) ProtoMessage

func (*ListCarReq) ProtoMessage()

func (*ListCarReq) ProtoReflect

func (x *ListCarReq) ProtoReflect() protoreflect.Message

func (*ListCarReq) Reset

func (x *ListCarReq) Reset()

func (*ListCarReq) String

func (x *ListCarReq) String() string

type ListCarRes

type ListCarRes struct {
	List  []*CarDetail `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	Page  int64        `protobuf:"varint,2,opt,name=page,proto3" json:"page"`   // 当前页码
	Size  int64        `protobuf:"varint,3,opt,name=size,proto3" json:"size"`   // 单页条数
	Total int64        `protobuf:"varint,4,opt,name=total,proto3" json:"total"` // 符合条件的总记录数量
	// contains filtered or unexported fields
}

func (*ListCarRes) Descriptor deprecated

func (*ListCarRes) Descriptor() ([]byte, []int)

Deprecated: Use ListCarRes.ProtoReflect.Descriptor instead.

func (*ListCarRes) GetList

func (x *ListCarRes) GetList() []*CarDetail

func (*ListCarRes) GetPage

func (x *ListCarRes) GetPage() int64

func (*ListCarRes) GetSize

func (x *ListCarRes) GetSize() int64

func (*ListCarRes) GetTotal

func (x *ListCarRes) GetTotal() int64

func (*ListCarRes) ProtoMessage

func (*ListCarRes) ProtoMessage()

func (*ListCarRes) ProtoReflect

func (x *ListCarRes) ProtoReflect() protoreflect.Message

func (*ListCarRes) Reset

func (x *ListCarRes) Reset()

func (*ListCarRes) String

func (x *ListCarRes) String() string

type RegisterRandomCarReq

type RegisterRandomCarReq struct {
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // 所属国家
	// contains filtered or unexported fields
}

func (*RegisterRandomCarReq) Descriptor deprecated

func (*RegisterRandomCarReq) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRandomCarReq.ProtoReflect.Descriptor instead.

func (*RegisterRandomCarReq) GetCountry

func (x *RegisterRandomCarReq) GetCountry() string

func (*RegisterRandomCarReq) ProtoMessage

func (*RegisterRandomCarReq) ProtoMessage()

func (*RegisterRandomCarReq) ProtoReflect

func (x *RegisterRandomCarReq) ProtoReflect() protoreflect.Message

func (*RegisterRandomCarReq) Reset

func (x *RegisterRandomCarReq) Reset()

func (*RegisterRandomCarReq) String

func (x *RegisterRandomCarReq) String() string

type RegisterRandomCarRes

type RegisterRandomCarRes struct {
	Item *CarItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*RegisterRandomCarRes) Descriptor deprecated

func (*RegisterRandomCarRes) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRandomCarRes.ProtoReflect.Descriptor instead.

func (*RegisterRandomCarRes) GetItem

func (x *RegisterRandomCarRes) GetItem() *CarItem

func (*RegisterRandomCarRes) ProtoMessage

func (*RegisterRandomCarRes) ProtoMessage()

func (*RegisterRandomCarRes) ProtoReflect

func (x *RegisterRandomCarRes) ProtoReflect() protoreflect.Message

func (*RegisterRandomCarRes) Reset

func (x *RegisterRandomCarRes) Reset()

func (*RegisterRandomCarRes) String

func (x *RegisterRandomCarRes) String() string

type ResourcesReq

type ResourcesReq struct {
	Time         string `protobuf:"bytes,1,opt,name=time,proto3" json:"time"`                                     // 起始时间
	ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type"` // 资源类型
	// contains filtered or unexported fields
}

func (*ResourcesReq) Descriptor deprecated

func (*ResourcesReq) Descriptor() ([]byte, []int)

Deprecated: Use ResourcesReq.ProtoReflect.Descriptor instead.

func (*ResourcesReq) GetResourceType

func (x *ResourcesReq) GetResourceType() string

func (*ResourcesReq) GetTime

func (x *ResourcesReq) GetTime() string

func (*ResourcesReq) ProtoMessage

func (*ResourcesReq) ProtoMessage()

func (*ResourcesReq) ProtoReflect

func (x *ResourcesReq) ProtoReflect() protoreflect.Message

func (*ResourcesReq) Reset

func (x *ResourcesReq) Reset()

func (*ResourcesReq) String

func (x *ResourcesReq) String() string

type ResourcesRes

type ResourcesRes struct {
	DownloadUrl []string `protobuf:"bytes,1,rep,name=download_url,json=downloadUrl,proto3" json:"download_url"`
	// contains filtered or unexported fields
}

func (*ResourcesRes) Descriptor deprecated

func (*ResourcesRes) Descriptor() ([]byte, []int)

Deprecated: Use ResourcesRes.ProtoReflect.Descriptor instead.

func (*ResourcesRes) GetDownloadUrl

func (x *ResourcesRes) GetDownloadUrl() []string

func (*ResourcesRes) ProtoMessage

func (*ResourcesRes) ProtoMessage()

func (*ResourcesRes) ProtoReflect

func (x *ResourcesRes) ProtoReflect() protoreflect.Message

func (*ResourcesRes) Reset

func (x *ResourcesRes) Reset()

func (*ResourcesRes) String

func (x *ResourcesRes) String() string

type ThingsCarService

type ThingsCarService interface {
	ListCar(ctx context.Context, in *ListCarReq, opts ...client.CallOption) (*ListCarRes, error)
	CreateCar(ctx context.Context, in *CreateCarReq, opts ...client.CallOption) (*CreateCarRes, error)
	UpdateCar(ctx context.Context, in *UpdateCarReq, opts ...client.CallOption) (*UpdateCarRes, error)
	DeleteCar(ctx context.Context, in *DeleteCarReq, opts ...client.CallOption) (*DeleteCarRes, error)
	GetCarById(ctx context.Context, in *GetCarByIdReq, opts ...client.CallOption) (*GetCarByIdRes, error)
	GetCarMulti(ctx context.Context, in *GetCarMultiReq, opts ...client.CallOption) (*GetCarMultiRes, error)
	RegisterRandomCar(ctx context.Context, in *RegisterRandomCarReq, opts ...client.CallOption) (*RegisterRandomCarRes, error)
	LevelUpRandomCar(ctx context.Context, in *LevelUpRandomCarReq, opts ...client.CallOption) (*LevelUpRandomCarRes, error)
	Resources(ctx context.Context, in *ResourcesReq, opts ...client.CallOption) (*ResourcesRes, error)
	UpdateLocalCarName(ctx context.Context, in *UpdateLocalCarNameReq, opts ...client.CallOption) (*UpdateLocalCarNameRes, error)
	UpdateShowState(ctx context.Context, in *UpdateShowStateReq, opts ...client.CallOption) (*UpdateShowStateRes, error)
}

func NewThingsCarService

func NewThingsCarService(name string, c client.Client) ThingsCarService

type UpdateCarReq

type UpdateCarReq struct {
	Item *UpdateCarReq_CarDetail `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*UpdateCarReq) Descriptor deprecated

func (*UpdateCarReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCarReq.ProtoReflect.Descriptor instead.

func (*UpdateCarReq) GetItem

func (x *UpdateCarReq) GetItem() *UpdateCarReq_CarDetail

func (*UpdateCarReq) ProtoMessage

func (*UpdateCarReq) ProtoMessage()

func (*UpdateCarReq) ProtoReflect

func (x *UpdateCarReq) ProtoReflect() protoreflect.Message

func (*UpdateCarReq) Reset

func (x *UpdateCarReq) Reset()

func (*UpdateCarReq) String

func (x *UpdateCarReq) String() string

type UpdateCarReq_CarDetail

type UpdateCarReq_CarDetail struct {
	CarId     int64    `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`         // ID
	CarName   string   `protobuf:"bytes,2,opt,name=car_name,json=carName,proto3" json:"car_name"`    // 名称
	CarCover  string   `protobuf:"bytes,4,opt,name=car_cover,json=carCover,proto3" json:"car_cover"` // 座驾封面(缩略图)
	VideoMp4  string   `protobuf:"bytes,5,opt,name=video_mp4,json=videoMp4,proto3" json:"video_mp4"`
	VideoPag  string   `protobuf:"bytes,6,opt,name=video_pag,json=videoPag,proto3" json:"video_pag"`
	CarLevel  int64    `protobuf:"varint,7,opt,name=car_level,json=carLevel,proto3" json:"car_level"`    // 座驾等级 1低档,2中档,3高档,4活动
	ShowState int32    `protobuf:"varint,8,opt,name=show_state,json=showState,proto3" json:"show_state"` // 1隐藏 2显示
	Mark      []string `protobuf:"bytes,9,rep,name=mark,proto3" json:"mark"`                             // 特殊场景 register,level40
	// contains filtered or unexported fields
}

func (*UpdateCarReq_CarDetail) Descriptor deprecated

func (*UpdateCarReq_CarDetail) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCarReq_CarDetail.ProtoReflect.Descriptor instead.

func (*UpdateCarReq_CarDetail) GetCarCover

func (x *UpdateCarReq_CarDetail) GetCarCover() string

func (*UpdateCarReq_CarDetail) GetCarId

func (x *UpdateCarReq_CarDetail) GetCarId() int64

func (*UpdateCarReq_CarDetail) GetCarLevel

func (x *UpdateCarReq_CarDetail) GetCarLevel() int64

func (*UpdateCarReq_CarDetail) GetCarName

func (x *UpdateCarReq_CarDetail) GetCarName() string

func (*UpdateCarReq_CarDetail) GetMark

func (x *UpdateCarReq_CarDetail) GetMark() []string

func (*UpdateCarReq_CarDetail) GetShowState

func (x *UpdateCarReq_CarDetail) GetShowState() int32

func (*UpdateCarReq_CarDetail) GetVideoMp4

func (x *UpdateCarReq_CarDetail) GetVideoMp4() string

func (*UpdateCarReq_CarDetail) GetVideoPag

func (x *UpdateCarReq_CarDetail) GetVideoPag() string

func (*UpdateCarReq_CarDetail) ProtoMessage

func (*UpdateCarReq_CarDetail) ProtoMessage()

func (*UpdateCarReq_CarDetail) ProtoReflect

func (x *UpdateCarReq_CarDetail) ProtoReflect() protoreflect.Message

func (*UpdateCarReq_CarDetail) Reset

func (x *UpdateCarReq_CarDetail) Reset()

func (*UpdateCarReq_CarDetail) String

func (x *UpdateCarReq_CarDetail) String() string

type UpdateCarRes

type UpdateCarRes struct {
	Item *CarDetail `protobuf:"bytes,1,opt,name=item,proto3" json:"item"`
	// contains filtered or unexported fields
}

func (*UpdateCarRes) Descriptor deprecated

func (*UpdateCarRes) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCarRes.ProtoReflect.Descriptor instead.

func (*UpdateCarRes) GetItem

func (x *UpdateCarRes) GetItem() *CarDetail

func (*UpdateCarRes) ProtoMessage

func (*UpdateCarRes) ProtoMessage()

func (*UpdateCarRes) ProtoReflect

func (x *UpdateCarRes) ProtoReflect() protoreflect.Message

func (*UpdateCarRes) Reset

func (x *UpdateCarRes) Reset()

func (*UpdateCarRes) String

func (x *UpdateCarRes) String() string

type UpdateLocalCarNameReq

type UpdateLocalCarNameReq struct {
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"`           // 国家
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`                 // 本地化名称
	CarId   int64  `protobuf:"varint,3,opt,name=car_id,json=carId,proto3" json:"car_id"` //
	// contains filtered or unexported fields
}

func (*UpdateLocalCarNameReq) Descriptor deprecated

func (*UpdateLocalCarNameReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLocalCarNameReq.ProtoReflect.Descriptor instead.

func (*UpdateLocalCarNameReq) GetCarId

func (x *UpdateLocalCarNameReq) GetCarId() int64

func (*UpdateLocalCarNameReq) GetCountry

func (x *UpdateLocalCarNameReq) GetCountry() string

func (*UpdateLocalCarNameReq) GetName

func (x *UpdateLocalCarNameReq) GetName() string

func (*UpdateLocalCarNameReq) ProtoMessage

func (*UpdateLocalCarNameReq) ProtoMessage()

func (*UpdateLocalCarNameReq) ProtoReflect

func (x *UpdateLocalCarNameReq) ProtoReflect() protoreflect.Message

func (*UpdateLocalCarNameReq) Reset

func (x *UpdateLocalCarNameReq) Reset()

func (*UpdateLocalCarNameReq) String

func (x *UpdateLocalCarNameReq) String() string

type UpdateLocalCarNameRes

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

func (*UpdateLocalCarNameRes) Descriptor deprecated

func (*UpdateLocalCarNameRes) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLocalCarNameRes.ProtoReflect.Descriptor instead.

func (*UpdateLocalCarNameRes) ProtoMessage

func (*UpdateLocalCarNameRes) ProtoMessage()

func (*UpdateLocalCarNameRes) ProtoReflect

func (x *UpdateLocalCarNameRes) ProtoReflect() protoreflect.Message

func (*UpdateLocalCarNameRes) Reset

func (x *UpdateLocalCarNameRes) Reset()

func (*UpdateLocalCarNameRes) String

func (x *UpdateLocalCarNameRes) String() string

type UpdateShowStateReq

type UpdateShowStateReq struct {
	CarId     int64 `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id"`
	ShowState int32 `protobuf:"varint,2,opt,name=show_state,json=showState,proto3" json:"show_state"`
	// contains filtered or unexported fields
}

func (*UpdateShowStateReq) Descriptor deprecated

func (*UpdateShowStateReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateShowStateReq.ProtoReflect.Descriptor instead.

func (*UpdateShowStateReq) GetCarId

func (x *UpdateShowStateReq) GetCarId() int64

func (*UpdateShowStateReq) GetShowState

func (x *UpdateShowStateReq) GetShowState() int32

func (*UpdateShowStateReq) ProtoMessage

func (*UpdateShowStateReq) ProtoMessage()

func (*UpdateShowStateReq) ProtoReflect

func (x *UpdateShowStateReq) ProtoReflect() protoreflect.Message

func (*UpdateShowStateReq) Reset

func (x *UpdateShowStateReq) Reset()

func (*UpdateShowStateReq) String

func (x *UpdateShowStateReq) String() string

type UpdateShowStateRes

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

func (*UpdateShowStateRes) Descriptor deprecated

func (*UpdateShowStateRes) Descriptor() ([]byte, []int)

Deprecated: Use UpdateShowStateRes.ProtoReflect.Descriptor instead.

func (*UpdateShowStateRes) ProtoMessage

func (*UpdateShowStateRes) ProtoMessage()

func (*UpdateShowStateRes) ProtoReflect

func (x *UpdateShowStateRes) ProtoReflect() protoreflect.Message

func (*UpdateShowStateRes) Reset

func (x *UpdateShowStateRes) Reset()

func (*UpdateShowStateRes) String

func (x *UpdateShowStateRes) String() string

Jump to

Keyboard shortcuts

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