+ stats: GetTopData()

This commit is contained in:
Simon Zolin
2019-10-07 15:56:33 +03:00
parent 4165688f25
commit 418baa608f
3 changed files with 28 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ type Stats interface {
// Update counters
Update(e Entry)
// Get IP addresses of the clients with the most number of requests
GetTopClientsIP(limit uint) []string
// WriteDiskConfig - write configuration
WriteDiskConfig(dc *DiskConfig)
}