diff options
Diffstat (limited to 'adapter/stats_api.go')
-rw-r--r-- | adapter/stats_api.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/adapter/stats_api.go b/adapter/stats_api.go index 146914d..798fcbd 100644 --- a/adapter/stats_api.go +++ b/adapter/stats_api.go @@ -15,9 +15,20 @@ package adapter import ( + "errors" "fmt" ) +var ( + ErrStatDirBusy = errors.New("stat dir busy") + ErrStatDumpBusy = errors.New("stat dump busy") +) + +var ( + // DefaultStatsSocket is the default path for the VPP stat socket file. + DefaultStatsSocket = "/run/vpp/stats.sock" +) + // StatsAPI provides connection to VPP stats API. type StatsAPI interface { // Connect establishes client connection to the stats API. |