Optimize socketclient adapter and add various code improvements
[govpp.git] / adapter / socketclient / doc.go
index 0f93c56..cbb00a2 100644 (file)
 //
 // Requirements
 //
-// The socketclient will connect to /run/vpp-api.sock by default. However this
-// is not enabled in VPP configuration by default.
+// The socketclient connects to unix domain socket defined in VPP configuration.
 //
-// To enable the socket in VPP, add following section to VPP config.
+// It is enabled by default at /run/vpp/api.sock by the following config section:
 //
 //     socksvr {
-//             default
+//             socket-name default
+//     }
+//
+// If you want to use custom socket path:
+//
+//     socksvr {
+//             socket-name /run/vpp/api.sock
 //     }
 //
 package socketclient