Versions in this module Expand all Collapse all v1 v1.0.0 Dec 6, 2026 Changes in this version + const StrongTowerCensusAPI + const StrongTowerLookupAPI + const USDOTCensusEndpoint + const USDOTInsuranceEndpoint + const USDOTSMSEndpoint + type CarrierSnapshot struct + AuthorityAgeDays int + BIPDInsuranceUSD int + BMC84BondActive bool + DriverOOSPct float64 + Drivers int + HasBrokerAuthority bool + HasCommonAuthority bool + LegalName string + MCNumber string + OperatingStatus string + PowerUnits int + RecentMCS150ChangeDays int + RecentRevocationCount12M int + SafetyRating string + USDOTNumber string + VehicleOOSPct float64 + VirtualOfficeOrPOBox bool + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient() *Client + func (cl *Client) FetchStateCensus(ctx context.Context, stateCode string) (map[string]any, error) + func (cl *Client) FetchUSDOTLookup(ctx context.Context, usdot string) (map[string]any, error) + type RiskFlag struct + Code string + Message string + Points int + Severity string + type VettingReport struct + Approved bool + Flags []RiskFlag + RiskScore int + RiskTier string + USDOTNumber string + func EvaluateVettingRisk(c CarrierSnapshot) VettingReport