Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Brakes ¶
type Brakes struct { ID objectid.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` Rotors struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` Slotted bool `json:"slotted" bson:"slotted"` Drilled bool `json:"drilled" bson:"drilled"` Vented bool `json:"vented" bson:"vented"` } `json:"rotors" bson:"rotors"` Pads struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"pads" bson:"pads"` }
type Car ¶
type Car struct { ID objectid.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` Year int `json:"year" bson:"year"` Image string `json:"image" bson:"image"` FuelType string `json:"fuelType" bson:"fuelType"` Mods struct { Tires struct { FrontLeft objectid.ObjectID `json:"frontLeft" bson:"frontLeft"` FrontRight objectid.ObjectID `json:"frontRight" bson:"frontRight"` RearLeft objectid.ObjectID `json:"rearLeft" bson:"rearLeft"` RearRight objectid.ObjectID `json:"rearRight" bson:"rearRight"` } `json:"tires" bson:"tires"` Wheels struct { FrontLeft objectid.ObjectID `json:"frontLeft" bson:"frontLeft"` FrontRight objectid.ObjectID `json:"frontRight" bson:"frontRight"` RearLeft objectid.ObjectID `json:"rearLeft" bson:"rearLeft"` RearRight objectid.ObjectID `json:"rearRight" bson:"rearRight"` } `json:"wheels" bson:"wheels"` Suspension objectid.ObjectID `json:"suspension" bson:"suspension"` Brakes objectid.ObjectID `json:"brakes" bson:"brakes"` Exhaust objectid.ObjectID `json:"exhaust" bson:"exhaust"` Intake objectid.ObjectID `json:"intake" bson:"intake"` Aero []objectid.ObjectID `json:"aero" bson:"aero"` } `json:"mods" bson:"mods"` }
type Exhaust ¶
type Exhaust struct { ID objectid.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Headers struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"exhaust" bson:"exhaust"` Catback struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"catback" bson:"catback"` Overpipe struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"overpipe" bson:"overpipe"` Frontpipe struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"frontpipe" bson:"frontpipe"` Midpipe struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"midpipe" bson:"midpipe"` Muffler struct { Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` } `json:"muffler" bson:"muffler"` }
type Suspension ¶
type Suspension struct { ID objectid.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` RideHeight float32 `json:"rideHeight" bson:"rideHeight"` Camber float32 `json:"camber" bson:"camber"` Damping int `json:"damping" bson:"damping"` }
type Tire ¶
type Tire struct { ID objectid.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Manufacturer string `json:"manufacturer" bson:"manufacturer"` Model string `json:"model" bson:"model"` Width int `json:"width" bson:"width"` AspectRatio int `json:"aspectRatio" bson:"aspectRatio"` Diameter int `json:"diameter" bson:"diameter"` }
Click to show internal directories.
Click to hide internal directories.