summaryrefslogtreecommitdiffstats
path: root/modules/middlewares/data.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/middlewares/data.go')
-rw-r--r--modules/middlewares/data.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/middlewares/data.go b/modules/middlewares/data.go
new file mode 100644
index 0000000000..2690289362
--- /dev/null
+++ b/modules/middlewares/data.go
@@ -0,0 +1,10 @@
+// Copyright 2020 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package middlewares
+
+// DataStore represents a data store
+type DataStore interface {
+ GetData() map[string]interface{}
+}