Discover Packages
github.com/opencars/vin-decoder-api
pkg
apiserver
package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Sep 2, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Start starts http server on the specified addr.
type Result struct {
VIN VIN `json:"vin"`
Vehicle Vehicle `json:"vehicle"`
}
Result is a union of information about vin-code and decoded vehicle.
type VIN struct {
WMI string `json:"wmi"`
VDS string `json:"vds"`
VIS string `json:"vis"`
}
VIN represents detailed information about the VIN code.
type Vehicle struct {
Manufacturer string `json:"manufacturer"`
Country string `json:"country"`
Year *uint `json:"year,omitempty"`
Region govin .Region `json:"region"`
Check bool `json:"check"`
}
Vehicle represent information about the decoded vehicle.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.