TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/traconiq/tachoparser/llms.txt
Use this file to discover all available pages before exploring further.
dddserver binary starts a gRPC server that accepts ParseVu and ParseCard requests. This page walks through building the binary, starting the server, and connecting a client.
The server uses a global mutex: only one parsing operation runs at a time. Concurrent requests are queued. If you need parallel throughput, run multiple
dddserver instances behind a load balancer.Server flags
| Flag | Default | Description |
|---|---|---|
-listen | :50055 | TCP address the gRPC server binds to |
-statsd | (empty) | Address of a statsd server for metrics (e.g. localhost:8125) |
Setup workflow
Build dddserver
Change into the Alternatively, run the project-level build script from the repository root to build all binaries at once:
cmd/dddserver directory and build the binary:Start the server
- Run directly
- Run with Docker
Start with the default port:To bind to a different address or port, use the To enable statsd metrics reporting, add the
-listen flag:-statsd flag:Connect a client
You can connect to the server using the bundled Then pipe a DDD file to The client prints the parsed result as JSON to stdout.Using a custom gRPC clientPoint any gRPC client library at
dddclient binary or any gRPC client that has access to the proto definition.Using dddclientBuild the client binary from cmd/dddclient:dddclient. Pass -vu for vehicle unit data or -card for driver card data:localhost:50055 using the proto definition at pkg/proto/dddparser.proto. The connection is plaintext (no TLS). See ParseVu and ParseCard for request and response field details.Regenerating protobuf bindings
If you modifydddparser.proto, regenerate the Go bindings from inside the pkg/proto directory:
protoc, protoc-gen-go, and protoc-gen-go-grpc to be installed.