Back to godoc.org
git.fd.io/govpp.git / cmd / binapi-generator

Command binapi-generator

v0.3.5
Latest Go to latest

The highest tagged major version is .

Published: May 18, 2020 | License: Apache-2.0 | Module: git.fd.io/govpp.git

Overview

Generator of Go structs out of the VPP binary API definitions in JSON format.

The JSON input can be specified as a single file (using the `input-file` CLI flag), or as a directory that will be scanned for all `.json` files (using the `input-dir` CLI flag). The generated Go bindings will be placed into `output-dir` (by default the current working directory), where each Go package will be placed into its own separate directory, for example:

binapi-generator --input-file=/usr/share/vpp/api/core/interface.api.json --output-dir=.
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier