Documentation ¶
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type Auction
- func (*Auction) Descriptor() ([]byte, []int)deprecated
- func (x *Auction) GetAuction() string
- func (x *Auction) GetBrand() string
- func (x *Auction) GetColor() string
- func (x *Auction) GetCondition() string
- func (x *Auction) GetDateOfSale() *common.Date
- func (x *Auction) GetEngine() string
- func (x *Auction) GetEstimatedRepairCost() int32
- func (x *Auction) GetEstimatedRetailValue() int32
- func (x *Auction) GetFuel() string
- func (x *Auction) GetGearboxType() string
- func (x *Auction) GetImageUrls() []string
- func (x *Auction) GetLotNumber() string
- func (x *Auction) GetMileage() int32
- func (x *Auction) GetModel() string
- func (x *Auction) GetPrice() int32
- func (x *Auction) GetPrimaryDamage() string
- func (x *Auction) GetSecondaryDamage() string
- func (x *Auction) GetSeller() string
- func (x *Auction) GetVin() string
- func (x *Auction) GetWheelDriveType() string
- func (x *Auction) GetYear() int32
- func (*Auction) ProtoMessage()
- func (x *Auction) ProtoReflect() protoreflect.Message
- func (x *Auction) Reset()
- func (x *Auction) String() string
- type ListByVINRequest
- type ListByVINResponse
- func (*ListByVINResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListByVINResponse) GetAuction() []*Auction
- func (*ListByVINResponse) ProtoMessage()
- func (x *ListByVINResponse) ProtoReflect() protoreflect.Message
- func (x *ListByVINResponse) Reset()
- func (x *ListByVINResponse) String() string
- type ServiceClient
- type ServiceServer
- type UnimplementedServiceServer
- type UnsafeServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_auction_auction_proto protoreflect.FileDescriptor
var File_proto_auction_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "auction.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListByVIN", Handler: _Service_ListByVIN_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auction/service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type Auction ¶
type Auction struct { Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` Auction string `protobuf:"bytes,4,opt,name=auction,proto3" json:"auction,omitempty"` Seller string `protobuf:"bytes,5,opt,name=seller,proto3" json:"seller,omitempty"` LotNumber string `protobuf:"bytes,6,opt,name=lot_number,json=lotNumber,proto3" json:"lot_number,omitempty"` Price int32 `protobuf:"varint,7,opt,name=price,proto3" json:"price,omitempty"` ImageUrls []string `protobuf:"bytes,8,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"` DateOfSale *common.Date `protobuf:"bytes,9,opt,name=date_of_sale,json=dateOfSale,proto3" json:"date_of_sale,omitempty"` Vin string `protobuf:"bytes,10,opt,name=vin,proto3" json:"vin,omitempty"` Condition string `protobuf:"bytes,11,opt,name=condition,proto3" json:"condition,omitempty"` Engine string `protobuf:"bytes,12,opt,name=engine,proto3" json:"engine,omitempty"` Mileage int32 `protobuf:"varint,13,opt,name=mileage,proto3" json:"mileage,omitempty"` PrimaryDamage string `protobuf:"bytes,14,opt,name=primary_damage,json=primaryDamage,proto3" json:"primary_damage,omitempty"` SecondaryDamage string `protobuf:"bytes,15,opt,name=secondary_damage,json=secondaryDamage,proto3" json:"secondary_damage,omitempty"` EstimatedRetailValue int32 `protobuf:"varint,16,opt,name=estimated_retail_value,json=estimatedRetailValue,proto3" json:"estimated_retail_value,omitempty"` EstimatedRepairCost int32 `protobuf:"varint,17,opt,name=estimated_repair_cost,json=estimatedRepairCost,proto3" json:"estimated_repair_cost,omitempty"` GearboxType string `protobuf:"bytes,18,opt,name=gearbox_type,json=gearboxType,proto3" json:"gearbox_type,omitempty"` Color string `protobuf:"bytes,19,opt,name=color,proto3" json:"color,omitempty"` WheelDriveType string `protobuf:"bytes,20,opt,name=wheel_drive_type,json=wheelDriveType,proto3" json:"wheel_drive_type,omitempty"` Fuel string `protobuf:"bytes,21,opt,name=fuel,proto3" json:"fuel,omitempty"` // contains filtered or unexported fields }
func (*Auction) Descriptor
deprecated
func (*Auction) GetAuction ¶
func (*Auction) GetCondition ¶
func (*Auction) GetDateOfSale ¶
func (*Auction) GetEstimatedRepairCost ¶
func (*Auction) GetEstimatedRetailValue ¶
func (*Auction) GetGearboxType ¶
func (*Auction) GetImageUrls ¶
func (*Auction) GetLotNumber ¶
func (*Auction) GetMileage ¶
func (*Auction) GetPrimaryDamage ¶
func (*Auction) GetSecondaryDamage ¶
func (*Auction) GetWheelDriveType ¶
func (*Auction) ProtoMessage ¶
func (*Auction) ProtoMessage()
func (*Auction) ProtoReflect ¶
func (x *Auction) ProtoReflect() protoreflect.Message
type ListByVINRequest ¶
type ListByVINRequest struct { Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin,omitempty"` // contains filtered or unexported fields }
func (*ListByVINRequest) Descriptor
deprecated
func (*ListByVINRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListByVINRequest.ProtoReflect.Descriptor instead.
func (*ListByVINRequest) GetVin ¶
func (x *ListByVINRequest) GetVin() string
func (*ListByVINRequest) ProtoMessage ¶
func (*ListByVINRequest) ProtoMessage()
func (*ListByVINRequest) ProtoReflect ¶
func (x *ListByVINRequest) ProtoReflect() protoreflect.Message
func (*ListByVINRequest) Reset ¶
func (x *ListByVINRequest) Reset()
func (*ListByVINRequest) String ¶
func (x *ListByVINRequest) String() string
type ListByVINResponse ¶
type ListByVINResponse struct { Auction []*Auction `protobuf:"bytes,1,rep,name=auction,proto3" json:"auction,omitempty"` // contains filtered or unexported fields }
func (*ListByVINResponse) Descriptor
deprecated
func (*ListByVINResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListByVINResponse.ProtoReflect.Descriptor instead.
func (*ListByVINResponse) GetAuction ¶
func (x *ListByVINResponse) GetAuction() []*Auction
func (*ListByVINResponse) ProtoMessage ¶
func (*ListByVINResponse) ProtoMessage()
func (*ListByVINResponse) ProtoReflect ¶
func (x *ListByVINResponse) ProtoReflect() protoreflect.Message
func (*ListByVINResponse) Reset ¶
func (x *ListByVINResponse) Reset()
func (*ListByVINResponse) String ¶
func (x *ListByVINResponse) String() string
type ServiceClient ¶
type ServiceClient interface {
ListByVIN(ctx context.Context, in *ListByVINRequest, opts ...grpc.CallOption) (*ListByVINResponse, error)
}
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { ListByVIN(context.Context, *ListByVINRequest) (*ListByVINResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) ListByVIN ¶
func (UnimplementedServiceServer) ListByVIN(context.Context, *ListByVINRequest) (*ListByVINResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.