aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system/appstate.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/appstate.go')
-rw-r--r--modules/system/appstate.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/system/appstate.go b/modules/system/appstate.go
index 765501d432..e065688a4f 100644
--- a/modules/system/appstate.go
+++ b/modules/system/appstate.go
@@ -3,10 +3,12 @@
package system
+import "context"
+
// StateStore is the interface to get/set app state items
type StateStore interface {
- Get(item StateItem) error
- Set(item StateItem) error
+ Get(ctx context.Context, item StateItem) error
+ Set(ctx context.Context, item StateItem) error
}
// StateItem provides the name for a state item. the name will be used to generate filenames, etc