1
0
mirror of https://github.com/mayflower/docker-ls.git synced 2025-11-30 23:41:25 +03:00

API level token caching, statistics.

This commit is contained in:
Christian Speckner
2016-02-17 14:39:35 +01:00
parent 0f202ef651
commit 07cf002b17
15 changed files with 284 additions and 13 deletions

View File

@@ -57,6 +57,10 @@ func (r *registryApi) pageSize() uint {
return r.cfg.pageSize
}
func (r *registryApi) GetStatistics() Statistics {
return r.connector.GetStatistics()
}
func NewRegistryApi(cfg Config) (registry RegistryApi) {
registry = &registryApi{
cfg: cfg,