Introduce higer-level API for retrieving statistics 79/17679/2
authorOndrej Fabry <ofabry@cisco.com>
Tue, 19 Feb 2019 12:57:12 +0000 (13:57 +0100)
committerOndrej Fabry <ofabry@cisco.com>
Tue, 19 Feb 2019 13:02:45 +0000 (14:02 +0100)
commit45e38494c1d65ad9178ad15f4048c0ab16f98b77
treedfbc70131af8faff5fde24fc1bbca8a72a91c102
parentdf05a70f90a1486a86a4156b1b0d68c94f2098b4
Introduce higer-level API for retrieving statistics

- see stats-api example

Change-Id: I11d29d32b60d25238e75cb6b86ee34842348ab38
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
adapter/stats_api.go
api/binapi.go [moved from api/api.go with 100% similarity]
api/stats.go [new file with mode: 0644]
core/connection.go
core/request_handler.go
core/stats.go [new file with mode: 0644]
examples/stats-api/README.md
examples/stats-api/stats_api.go