aboutsummaryrefslogtreecommitdiffstats
path: root/storage/storer.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/storer.go')
-rw-r--r--storage/storer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/storer.go b/storage/storer.go
index 0a2c256..d217209 100644
--- a/storage/storer.go
+++ b/storage/storer.go
@@ -18,6 +18,9 @@ type Storer interface {
ModuleStorer
}
+// ModuleStorer allows interact with the modules' Storers
type ModuleStorer interface {
+ // Module returns a Storer reprensting a submodule, if not exists returns a
+ // new empty Storer is returned
Module(name string) (Storer, error)
}