Code Review
/
ric-plt
/
sdlgo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New 'statistics' SDL CLI command
[ric-plt/sdlgo.git]
/
internal
/
cli
/
types.go
diff --git
a/internal/cli/types.go
b/internal/cli/types.go
index
eb86905
..
6cfe725
100644
(file)
--- a/
internal/cli/types.go
+++ b/
internal/cli/types.go
@@
-30,6
+30,7
@@
type iDatabase interface {
Info() (*sdlgoredis.DbInfo, error)
State() (*sdlgoredis.DbState, error)
Keys(pattern string) ([]string, error)
+ Statistics() (*sdlgoredis.DbStatistics, error)
}
//Database struct is a holder for the internal database instances.