3 ## Pure-Go implementation (recommended)
5 GoVPP now supports pure Go implementation for VPP binary API. This does
6 not depend on CGo or any VPP library and can be easily compiled.
8 There are two packages providing pure Go implementations in GoVPP:
9 - [`socketclient`](adapter/socketclient) - for VPP binary API (via unix socket)
10 - [`statsclient`](adapter/statsclient) - for VPP stats API (via shared memory)
12 ## CGo wrapper for vppapiclient library (deprecated)
14 GoVPP also provides vppapiclient package which actually uses
15 `vppapiclient.so` library from VPP codebase to communicate with VPP API.
16 To build GoVPP, `vpp-dev` package must be installed,
17 either [from packages][from-packages] or [from sources][from-sources].
19 To build & install `vpp-dev` from sources:
22 git clone https://gerrit.fd.io/r/vpp
30 To build & install GoVPP:
33 go get -u git.fd.io/govpp.git
34 cd $GOPATH/src/git.fd.io/govpp.git