summaryrefslogtreecommitdiff
path: root/internal/clients/maker.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/clients/maker.go')
-rw-r--r--internal/clients/maker.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/clients/maker.go b/internal/clients/maker.go
index d5ffd8b..81ced09 100644
--- a/internal/clients/maker.go
+++ b/internal/clients/maker.go
@@ -11,3 +11,11 @@ type maker interface {
makeHandler(server string) handlers.Handler
makeCommands() (commands []string)
}
+
+type sessionSpecMaker interface {
+ makeSessionSpec() (SessionSpec, error)
+}
+
+type sessionCommitter interface {
+ commitSessionSpec(spec SessionSpec, generation uint64) error
+}