1 // Package core provides connectivity to VPP via the adapter: sends and receives the messages to/from VPP,
2 // marshalls/unmarshalls them and forwards them between the client Go channels and the VPP.
4 // The interface_plugin APIs the core exposes is tied to a connection: Connect provides a connection, that cane be
5 // later used to request an API channel via NewAPIChannel / NewAPIChannelBuffered functions:
7 // conn, err := govpp.Connect()
11 // defer conn.Disconnect()
13 // ch, err := conn.NewAPIChannel()
19 // Note that one application can open only one connection, that can serve multiple API channels.